Skip to content

Commit f4c7589

Browse files
committed
Avoid weirding out cargo with PATHs in test suite. Fixes rust-lang#47.
1 parent 7b51f7b commit f4c7589

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/full.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ macro_rules! full_test {
5858
panic!("could not pipe to awk");
5959
};
6060

61-
success &= Command::new("cargo")
62-
.args(&["semver", "-S", &old_version, "-C", &new_version])
61+
success &= Command::new("./target/debug/cargo-semver")
62+
.args(&["-S", &old_version, "-C", &new_version])
6363
.env("RUST_BACKTRACE", "full")
6464
.stdin(Stdio::null())
6565
.stdout(out_pipe)

0 commit comments

Comments
 (0)