Skip to content

Commit

Permalink
fix: use unknown command with no collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Mar 18, 2023
1 parent a73570e commit 0a5d96f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ test("reports when command not found", cliFails, "tsd", [
"[TITLE] tsd: command not found.",
]);

test("reports when multi-word command not found", cliFails, "cowsay hello", [
"[STARTED] cowsay",
"[TITLE] Running \"cowsay hello\"...",
"[TITLE] cowsay: command \"cowsay hello\" not found.",
test("reports when multi-word command not found", cliFails, "foobar hello", [
"[STARTED] foobar",
"[TITLE] Running \"foobar hello\"...",
"[TITLE] foobar: command \"foobar hello\" not found.",
]);

test("successfully runs multiple commands", cliPasses, ["sleep 1", "echo 2"], [
Expand Down

0 comments on commit 0a5d96f

Please sign in to comment.