fix failing error

This commit is contained in:
Max Bradbury 2020-04-18 16:46:41 +01:00
parent 8b05645c6b
commit 074b51d5d9
1 changed files with 6 additions and 2 deletions

View File

@ -392,9 +392,13 @@ fn test_bitsy_omnibus() {
let mut passes = 0; let mut passes = 0;
let mut skips = 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 path = file.unwrap().path();
let nice_name = format!("{}", path.display()); let nice_name = format!("{}", path.display());