mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 01:00:31 +00:00
Use cargo_bin! to locate the integration test binary (#933)
This commit is contained in:
1 parent
27a079e0df
commit
4b561defef
1 file changed
+1
-3
+1
-3
@@ -1,9 +1,7 @@
|
|||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
use assert_cmd::cargo::CommandCargoExt;
|
|
||||||
|
|
||||||
pub fn hyperfine_raw_command() -> Command {
|
pub fn hyperfine_raw_command() -> Command {
|
||||||
let mut cmd = Command::cargo_bin("hyperfine").unwrap();
|
let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));
|
||||||
cmd.current_dir("tests/");
|
cmd.current_dir("tests/");
|
||||||
cmd
|
cmd
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user