forge
Explore
Log in

Don't you dare go Hollow

Skip hidden wav sources

Browse files at this commit

bc04ed96800d82df6c21919f997d30a992041f54Ahmet Kaan GümüşParent: 1fd4474
  • test
    • skip hidden wav sources
Show full message
test(riff): skip hidden wav sources
crates/ec-riff/tests/wav.rsmodified+3 -0
@@ -242,6 +242,9 @@ fn reads_every_wav_fixture() {
242 continue;242 continue;
243 }243 }
244 let name = path.file_name().unwrap().to_string_lossy().to_string();244 let name = path.file_name().unwrap().to_string_lossy().to_string();
245+ if name.starts_with('.') {
246+ continue;
247+ }
245 let mut r = WavReader::open(&path).unwrap_or_else(|e| panic!("{name}: {e}"));248 let mut r = WavReader::open(&path).unwrap_or_else(|e| panic!("{name}: {e}"));
246 let spec = r.spec();249 let spec = r.spec();
247 // The generator names layout and rate in the file name; the header must agree.250 // The generator names layout and rate in the file name; the header must agree.