diff --git a/src/game.rs b/src/game.rs index 5d3fb0f..15b3afd 100644 --- a/src/game.rs +++ b/src/game.rs @@ -392,9 +392,13 @@ fn test_bitsy_omnibus() { let mut passes = 0; let mut skips = 0; - let files = std::fs::read_dir("src/test-resources/omnibus").unwrap(); + let files = std::fs::read_dir("src/test-resources/omnibus"); - for file in files { + if ! files.is_ok() { + return; + } + + for file in files.unwrap() { let path = file.unwrap().path(); let nice_name = format!("{}", path.display());