Skip to content
Myr

Add regression test for #640

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 2793d7b · Browse files · 1 file+16 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+16 added−0 removed

  • tests:+16 added−0 removed

1 file+16 added−0 removed

modified:tests/integration_tests.rs+16 added
343 unmodified lines
344 .and(predicate::str::contains("Benchmark 4: sleep 45"))345 .and(predicate::str::contains("Benchmark 5: sleep 50").not()),346 );347}348349#[test]350fn intermediate_results_are_not_exported_to_stdout() {351 hyperfine_debug()352 .arg("--style=none") // To only see the Markdown export on stdout353 .arg("--export-markdown")354 .arg("-")355 .arg("sleep 1")356 .arg("sleep 2")357 .assert()358 .success()359 .stdout(360 (predicate::str::contains("sleep 1").count(1))361 .and(predicate::str::contains("sleep 2").count(1)),362 );363}