From bd56eef59fff9d9597ab0aff4bf4fd6f0a9e399e Mon Sep 17 00:00:00 2001 From: grandizzy <38490174+grandizzy@users.noreply.github.com> Date: Mon, 1 Apr 2024 16:01:21 +0300 Subject: [PATCH] fix(bench): avoid panic if test benchmark execution not success (#7535) fix(bench): avoid panic if execution not success --- crates/forge/benches/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/forge/benches/test.rs b/crates/forge/benches/test.rs index 7650077b116a..7646a3c214a3 100644 --- a/crates/forge/benches/test.rs +++ b/crates/forge/benches/test.rs @@ -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(); }); }); }