diff --git a/test/dartdoc_test.dart b/test/dartdoc_test.dart index 30d6fefa3f..f9282ec31b 100644 --- a/test/dartdoc_test.dart +++ b/test/dartdoc_test.dart @@ -178,17 +178,6 @@ void main() { throwsA(const TypeMatcher())); }); - test('errors cause non-zero exit when warnings are on', () async { - expect( - () => subprocessLauncher.runStreamed(Platform.resolvedExecutable, [ - dartdocPath, - '--input=${testPackageToolError.path}', - '--output=${pathLib.join(tempDir.absolute.path, 'test_package_tool_error')}', - '--show-warnings', - ]), - throwsA(const TypeMatcher())); - }); - test('help prints command line args', () async { List outputLines = []; await subprocessLauncher.runStreamed(