Compare commits

...
Author SHA1 Message Date
David Peter 7801abf7ca Use cargo_bin! to locate the integration test binary 2026-10-02 10:48:32 +02:00
+1 -3
View File
@@ -1,9 +1,7 @@
use std::process::Command;
use assert_cmd::cargo::CommandCargoExt;
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
}