Skip to content

Commit

Permalink
Fix tests that weren't running prior to unused_result fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evanweible-wf committed Feb 14, 2023
1 parent b634a47 commit 6140164
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/tools/format_tool_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ void main() {
expect(
() => validateAndParseMode(argResults, usageException),
throwsA(isA<UsageException>()
.having((e) => e.message, 'command name', 'test_format')
.having((e) => e.message, 'usage footer',
contains('--check and --dry-run and --overwrite'))));
});
Expand All @@ -536,7 +535,6 @@ void main() {
expect(
() => validateAndParseMode(argResults, usageException),
throwsA(isA<UsageException>()
.having((e) => e.message, 'command name', 'test_format')
.having((e) => e.message, 'usage footer',
contains('--check and --dry-run'))));
});
Expand All @@ -546,7 +544,6 @@ void main() {
expect(
() => validateAndParseMode(argResults, usageException),
throwsA(isA<UsageException>()
.having((e) => e.message, 'command name', 'test_format')
.having((e) => e.message, 'usage footer',
contains('--check and --overwrite'))));
});
Expand All @@ -556,7 +553,6 @@ void main() {
expect(
() => validateAndParseMode(argResults, usageException),
throwsA(isA<UsageException>()
.having((e) => e.message, 'command name', 'test_format')
.having((e) => e.message, 'usage footer',
contains('--dry-run and --overwrite'))));
});
Expand Down

0 comments on commit 6140164

Please sign in to comment.