Skip to content
Myr

Use cargo_bin! to locate the integration test binary (#933)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by GitHub · parent 27a079e · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • tests:+1 added−3 removed

1 file+1 added−3 removed

modified:tests/common.rs+1 added-3 removed
1use std::process::Command;23use assert_cmd::cargo::CommandCargoExt;43pub fn hyperfine_raw_command() -> Command {6 let mut cmd = Command::cargo_bin("hyperfine").unwrap();4 let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));5 cmd.current_dir("tests/");6 cmd7}8
3 unmodified lines