mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-12 02:22:35 +00:00
12 lines
295 B
Rust
12 lines
295 B
Rust
use std::process::Command;
|
|
|
|
pub fn hyperfine_raw_command() -> Command {
|
|
let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));
|
|
cmd.current_dir("tests/");
|
|
cmd
|
|
}
|
|
|
|
pub fn hyperfine() -> assert_cmd::Command {
|
|
assert_cmd::Command::from_std(hyperfine_raw_command())
|
|
}
|