Skip to content

Commit

Permalink
fix(shorebird_cli): fix tests that mock Process.run with java (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanoltman authored May 25, 2023
1 parent 03696db commit 612f73e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ flutter:
});
when(
() => shorebirdProcess.run(
'java',
any(that: contains('java')),
any(),
runInShell: any(named: 'runInShell'),
environment: any(named: 'environment'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ flutter:
).thenAnswer((_) async => flutterRevisionProcessResult);
when(
() => shorebirdProcess.run(
'java',
any(that: contains('java')),
any(),
runInShell: any(named: 'runInShell'),
environment: any(named: 'environment'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ flutter:
).thenAnswer((_) async => flutterRevisionProcessResult);
when(
() => shorebirdProcess.run(
'java',
any(that: contains('java')),
any(),
runInShell: any(named: 'runInShell'),
environment: any(named: 'environment'),
Expand Down

0 comments on commit 612f73e

Please sign in to comment.