diff --git a/src/lib.rs b/src/lib.rs index 896fb0f..8bbc005 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -155,7 +155,7 @@ pub fn make_tests(config: &Config) -> Vec { &config.src_base, &PathBuf::new(), &mut tests) - .unwrap(); + .expect(&format!("Could not read tests from {}", config.src_base.display())); tests }