Skip to content
Myr

Add integration test for --show-output

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

authored by David Peter · committed by David Peter · parent 9b8f2a9 · Browse files · 1 file+12 added−0 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+12 added−0 removed

  • tests:+12 added−0 removed

1 file+12 added−0 removed

modified:tests/integration_tests.rs+12 added
146 unmodified lines
147 .success();148}149150#[test]151fn shows_output_of_benchmarked_command() {152 hyperfine()153 .arg("--runs=2")154 .arg("--command-name=dummy")155 .arg("--show-output")156 .arg("echo 4fd47015")157 .assert()158 .success()159 .stdout(predicate::str::contains("4fd47015").count(2));160}161162#[test]163fn runs_commands_using_user_defined_shell() {164 hyperfine()165 .arg("--runs=1")166 .arg("--show-output")
116 unmodified lines