Uh, formatting again..

This commit is contained in:
Riley-Kilgore
2024-12-17 06:10:45 -08:00
committed by Riley
parent d73ee3dfe7
commit df05ae7e5d
5 changed files with 27 additions and 31 deletions

View File

@@ -474,7 +474,8 @@ where
output,
} => {
// todo - collect benchmarks
let tests = self.collect_benchmarks(false, match_tests, exact_match, options.tracing)?;
let tests =
self.collect_benchmarks(false, match_tests, exact_match, options.tracing)?;
if !tests.is_empty() {
self.event_listener.handle_event(Event::RunningBenchmarks);
@@ -1215,7 +1216,7 @@ where
Test::PropertyTest(property_test) => {
property_test.run(seed, property_max_success, plutus_version)
}
Test::Benchmark(_) => unreachable!("Benchmarks cannot be run in PBT.")
Test::Benchmark(_) => unreachable!("Benchmarks cannot be run in PBT."),
})
.collect::<Vec<TestResult<(Constant, Rc<Type>), PlutusData>>>()
.into_iter()
@@ -1237,7 +1238,9 @@ where
tests
.into_par_iter()
.flat_map(|test| match test {
Test::UnitTest(_) | Test::PropertyTest(_) => unreachable!("Tests cannot be ran during benchmarking."),
Test::UnitTest(_) | Test::PropertyTest(_) => {
unreachable!("Tests cannot be ran during benchmarking.")
}
Test::Benchmark(benchmark) => benchmark
.benchmark(seed, property_max_success, plutus_version)
.into_iter()