Skip to content

Commit 4cf94b8

Browse files
authored
Remove obsolete show-warnings test (#1904)
1 parent 0a12e77 commit 4cf94b8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/dartdoc_test.dart

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,6 @@ void main() {
178178
throwsA(const TypeMatcher<ProcessException>()));
179179
});
180180

181-
test('errors cause non-zero exit when warnings are on', () async {
182-
expect(
183-
() => subprocessLauncher.runStreamed(Platform.resolvedExecutable, [
184-
dartdocPath,
185-
'--input=${testPackageToolError.path}',
186-
'--output=${pathLib.join(tempDir.absolute.path, 'test_package_tool_error')}',
187-
'--show-warnings',
188-
]),
189-
throwsA(const TypeMatcher<ProcessException>()));
190-
});
191-
192181
test('help prints command line args', () async {
193182
List<String> outputLines = [];
194183
await subprocessLauncher.runStreamed(

0 commit comments

Comments
 (0)