Skip to content

Commit

Permalink
Check for multiple locations of rm
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Sep 29, 2023
1 parent fa5cc35 commit b1e2359
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion sidekick/test/init_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,16 @@ void main() {
expect(
stderrText,
contains(
'The CLI name rm is already taken by an executable on your system see [/bin/rm]',
'The CLI name rm is already taken by an executable on your system',
),
);
expect(
stderrText,
anyOf([
contains('[/usr/bin/rm]'),
contains('[/bin/rm]'),
]),
);
expect(
process.stdout,
isNot(
Expand Down

0 comments on commit b1e2359

Please sign in to comment.