minor aesthetic changes in test framework.
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
parent
497f663513
commit
0a4d60b821
|
@ -539,7 +539,7 @@ impl Benchmark {
|
||||||
test: self.clone(),
|
test: self.clone(),
|
||||||
cost: ExBudget::default(),
|
cost: ExBudget::default(),
|
||||||
success: false,
|
success: false,
|
||||||
traces: vec![format!("Fuzzer error: {}", e)],
|
traces: vec![e.to_string()],
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1133,8 +1133,8 @@ impl<U, T> TestResult<U, T> {
|
||||||
pub fn traces(&self) -> &[String] {
|
pub fn traces(&self) -> &[String] {
|
||||||
match self {
|
match self {
|
||||||
TestResult::UnitTestResult(UnitTestResult { traces, .. })
|
TestResult::UnitTestResult(UnitTestResult { traces, .. })
|
||||||
| TestResult::PropertyTestResult(PropertyTestResult { traces, .. }) => traces,
|
| TestResult::PropertyTestResult(PropertyTestResult { traces, .. })
|
||||||
TestResult::Benchmark(BenchmarkResult { traces, .. }) => traces,
|
| TestResult::Benchmark(BenchmarkResult { traces, .. }) => traces,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue