Skip to content

Commit 18ef1df

Browse files
committed
fix: Handle error message difference
1 parent ac5ffb9 commit 18ef1df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli_tools/test/execute_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void main() {
4646
() async {
4747
final result = await runDriver('fhasjkhfs');
4848
expect(result.exitCode, isNot(0));
49-
expect(result.stderr, contains('not found'));
49+
expect(result.stderr, contains(Platform.isWindows ? 'not recognized' : 'not found'));
5050
},
5151
);
5252

0 commit comments

Comments
 (0)