From c085f30540e008a486511e7ab5974584c4c49cbc Mon Sep 17 00:00:00 2001 From: grandizzy Date: Mon, 1 Apr 2024 09:11:30 +0300 Subject: [PATCH] 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(); }); }); }