|
let mut cmd = Command::cargo_bin("hyperlink").unwrap(); |
cargo_bin relies on implementation details of cargo that will soon break (rust-lang/cargo#16147, rust-lang/cargo#15010).
You can test this by running:
CARGO_BUILD_BUILD_DIR="{cargo-cache-home}/build/{workspace-path-hash}" cargo test
The replacement is assert_cmd::cargo_bin!
hyperlink/tests/cli.rs
Line 11 in d72fd99
cargo_binrelies on implementation details of cargo that will soon break (rust-lang/cargo#16147, rust-lang/cargo#15010).You can test this by running:
The replacement is
assert_cmd::cargo_bin!