diff --git a/crates/aiken-lang/src/test_framework.rs b/crates/aiken-lang/src/test_framework.rs index cb5e955b..33305d47 100644 --- a/crates/aiken-lang/src/test_framework.rs +++ b/crates/aiken-lang/src/test_framework.rs @@ -539,7 +539,7 @@ impl Benchmark { test: self.clone(), cost: ExBudget::default(), success: false, - traces: vec![format!("Fuzzer error: {}", e)], + traces: vec![e.to_string()], }); break; } @@ -1133,8 +1133,8 @@ impl TestResult { pub fn traces(&self) -> &[String] { match self { TestResult::UnitTestResult(UnitTestResult { traces, .. }) - | TestResult::PropertyTestResult(PropertyTestResult { traces, .. }) => traces, - TestResult::Benchmark(BenchmarkResult { traces, .. }) => traces, + | TestResult::PropertyTestResult(PropertyTestResult { traces, .. }) + | TestResult::Benchmark(BenchmarkResult { traces, .. }) => traces, } } }