diff --git a/crates/aiken-lang/src/test_framework.rs b/crates/aiken-lang/src/test_framework.rs index f9c4df5b..cb5e955b 100644 --- a/crates/aiken-lang/src/test_framework.rs +++ b/crates/aiken-lang/src/test_framework.rs @@ -531,8 +531,9 @@ impl Benchmark { } Ok(None) => { - break; + panic!("A seeded PRNG returned 'None' which indicates a sampler is ill-formed and implemented wrongly; please contact library's authors."); } + Err(e) => { results.push(BenchmarkResult { test: self.clone(),