summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dhall/src/tests.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/dhall/src/tests.rs b/dhall/src/tests.rs
index 5cea6aa..915c181 100644
--- a/dhall/src/tests.rs
+++ b/dhall/src/tests.rs
@@ -24,8 +24,14 @@ macro_rules! make_spec_test {
#[allow(non_snake_case)]
fn $name() {
use crate::tests::*;
- run_test_with_bigger_stack($path, Feature::$type, Status::$status)
- .unwrap();
+ match run_test_with_bigger_stack(
+ $path,
+ Feature::$type,
+ Status::$status,
+ ) {
+ Ok(_) => {}
+ Err(s) => panic!(s),
+ }
}
};
}