Skip to content

Commit bd56eef

Browse files
authored
fix(bench): avoid panic if test benchmark execution not success (#7535)
fix(bench): avoid panic if execution not success
1 parent d94e3c6 commit bd56eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/forge/benches/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn forge_test_benchmark(c: &mut Criterion) {
1515
let mut cmd = prj.forge_command();
1616
cmd.arg("test");
1717
b.iter(|| {
18-
cmd.ensure_execute_success().unwrap();
18+
cmd.print_output();
1919
});
2020
});
2121
}

0 commit comments

Comments
 (0)