Skip to content
Myr

Snapshot test

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 a760e75 · Browse files · 1 file+14 added−5 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+14 added−5 removed

  • tests:+14 added−5 removed

1 file+14 added−5 removed

modified:tests/integration_tests.rs+14 added-5 removed
929 unmodified lines
930}931932#[test]933fn markdown_export_preserves_backticks_and_pipes_in_command_names() {934 hyperfine_debug()934 let _settings = snapshot_settings().bind_to_scope();935 assert_cmd_snapshot!(hyperfine_debug()936 .arg("--style=none")937 .arg("--export-markdown=-")938 .arg("--command-name=echo `uname` | cat")938 .arg("sleep 1")939 .assert()940 .success()941 .stdout(predicate::str::contains("| `` echo `uname` \\| cat `` |"));939 .arg("sleep 1"), @r"940 success: true941 exit_code: 0942 ----- stdout -----943944 | Command | Mean [s] | Min [s] | Max [s] | Relative |945 |:---|---:|---:|---:|---:|946 | `` echo `uname` \| cat `` | 1.000 ± 0.000 | 1.000 | 1.000 | 1.00 |947948949 ----- stderr -----950 ");951}952953#[test]954fn unused_parameters_are_shown_in_benchmark_name() {
85 unmodified lines