Add assert to ensure test exist
This commit is contained in:
parent
f9f6161a7a
commit
edbb435f4f
@ -9,6 +9,11 @@ fn yaml_files_in_test_dir(dir: &str) -> Vec<PathBuf> {
|
||||
base_path.push("tests");
|
||||
base_path.push(dir);
|
||||
|
||||
assert!(
|
||||
base_path.exists(),
|
||||
"Unable to locate test files. Did you init git submoules?"
|
||||
);
|
||||
|
||||
WalkDir::new(base_path)
|
||||
.into_iter()
|
||||
.filter_map(|e| e.ok())
|
||||
|
Loading…
Reference in New Issue
Block a user