From 61401644ec49681cfe401012069795f1aa235190 Mon Sep 17 00:00:00 2001 From: evanweible-wf Date: Tue, 14 Feb 2023 07:51:06 -0700 Subject: [PATCH] Fix tests that weren't running prior to unused_result fix --- test/tools/format_tool_test.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/tools/format_tool_test.dart b/test/tools/format_tool_test.dart index 7ced97f6..5577c995 100644 --- a/test/tools/format_tool_test.dart +++ b/test/tools/format_tool_test.dart @@ -526,7 +526,6 @@ void main() { expect( () => validateAndParseMode(argResults, usageException), throwsA(isA() - .having((e) => e.message, 'command name', 'test_format') .having((e) => e.message, 'usage footer', contains('--check and --dry-run and --overwrite')))); }); @@ -536,7 +535,6 @@ void main() { expect( () => validateAndParseMode(argResults, usageException), throwsA(isA() - .having((e) => e.message, 'command name', 'test_format') .having((e) => e.message, 'usage footer', contains('--check and --dry-run')))); }); @@ -546,7 +544,6 @@ void main() { expect( () => validateAndParseMode(argResults, usageException), throwsA(isA() - .having((e) => e.message, 'command name', 'test_format') .having((e) => e.message, 'usage footer', contains('--check and --overwrite')))); }); @@ -556,7 +553,6 @@ void main() { expect( () => validateAndParseMode(argResults, usageException), throwsA(isA() - .having((e) => e.message, 'command name', 'test_format') .having((e) => e.message, 'usage footer', contains('--dry-run and --overwrite')))); });