Skip to content
Myr

common.rs

This file

Path

tests/common.rs

12 lines · 333 bytes · Rust

Last changed by

landed by oscabrielc516152

History of this file

Take it

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

Bump serde from 1.0.174 to 1.0.179dependabot[bot]before adoption0f91d0c

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 serde from 1.0.174 to 1.0.179dependabot[bot]before adoption0f91d0c

line 5why, one step back
5 cmd.current_dir("tests/");
6 cmd.env_remove("CLICOLOR_FORCE");

Bump serde from 1.0.174 to 1.0.179dependabot[bot]before adoption0f91d0c

lines 7–12why, one step back
7 cmd
8}910pub fn hyperfine() -> assert_cmd::Command {11 assert_cmd::Command::from_std(hyperfine_raw_command())12}