common.rs
This file
1use std::process::Command;23pub fn hyperfine_raw_command() -> Command {4 let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));5 cmd.current_dir("tests/");6 cmd.env_remove("CLICOLOR_FORCE");7 cmd8}910pub fn hyperfine() -> assert_cmd::Command {11 assert_cmd::Command::from_std(hyperfine_raw_command())12}