From de3c55b1497e827b675bd82b7f937fdc3a36421e Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Fri, 11 Jan 2019 14:05:01 -0800 Subject: [PATCH] Remove obsolete show-warnings test --- test/dartdoc_test.dart | 11 ----------- 1 file changed, 11 deletions(-) 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(