Skip to content

Commit

Permalink
fix(bench): avoid panic if test benchmark execution not success (#7535)
Browse files Browse the repository at this point in the history
fix(bench): avoid panic if execution not success
  • Loading branch information
grandizzy authored Apr 1, 2024
1 parent d94e3c6 commit bd56eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/forge/benches/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn forge_test_benchmark(c: &mut Criterion) {
let mut cmd = prj.forge_command();
cmd.arg("test");
b.iter(|| {
cmd.ensure_execute_success().unwrap();
cmd.print_output();
});
});
}
Expand Down

0 comments on commit bd56eef

Please sign in to comment.