Skip to content

Commit

Permalink
Update crates/cli/src/benchmark.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Brown <[email protected]>
  • Loading branch information
jlb6740 and abrown committed Aug 28, 2024
1 parent f6d4884 commit daf22cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl BenchmarkCommand {
.with_context(|| "expected the benchmark file to have a printable name")?;
let mut stdout_expected = wasm_file_dir.join(format!("{}.stdout.expected", benchmark_name));
if !stdout_expected.exists() {
stdout_expected = wasm_file_dir.join(format!("{}.stdout.expected", "default"));
stdout_expected = wasm_file_dir.join("default.stdout.expected");
}
let mut stderr_expected = wasm_file_dir.join(format!("{}.stderr.expected", benchmark_name));
if !stderr_expected.exists() {
Expand Down

0 comments on commit daf22cd

Please sign in to comment.