Skip to content

Commit

Permalink
Fix windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 6, 2023
1 parent 47cce2c commit b87aa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/tests/bin_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mod bin {
let assert = cmd.arg("bin").arg("npm").arg("9.0.0").assert();

if cfg!(windows) {
assert.stdout(predicate::str::contains("tools\\npm\\9.0.0\\bin\\npm.cmd"));
assert.stdout(predicate::str::contains("tools\\npm\\9.0.0\\bin/npm.cmd"));
} else {
assert.stdout(predicate::str::contains("tools/npm/9.0.0/bin/npm"));
}
Expand Down

0 comments on commit b87aa31

Please sign in to comment.