Skip to content

Commit

Permalink
Fix bin test as arg parsing error changed. (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Oct 21, 2024
1 parent 19a2d6c commit 4af97f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bin_pana_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void main() {

var output = await process.stdoutStream().join('\n');

const prefix = 'Could not find an option named "monkey".\n\n';
const prefix = 'Could not find an option named "--monkey".\n\n';

expect(output, startsWith(prefix));
expectMatchesGoldenFile(output.substring(prefix.length), helpGoldenPath);
Expand Down

0 comments on commit 4af97f7

Please sign in to comment.