Skip to content
Myr

common.rs

This file

Path

tests/common.rs

11 lines · 295 bytes · Rust

Last changed by

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

History of this file

Take it

The walk stopped after 200 commits: lines older than d643571 point at it.

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 1–3why, one step back
1use std::process::Command;
23pub fn hyperfine_raw_command() -> Command {

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

line 4why, one step back
4 let mut cmd = Command::new(assert_cmd::cargo::cargo_bin!("hyperfine"));

Bump anyhow from 1.0.70 to 1.0.71dependabot[bot]before adoptiond643571

lines 5–11why, one step back
5 cmd.current_dir("tests/");
6 cmd7}89pub fn hyperfine() -> assert_cmd::Command {10 assert_cmd::Command::from_std(hyperfine_raw_command())11}