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() {
242242 continue;
243243 }
244244 let name = path.file_name().unwrap().to_string_lossy().to_string();
245+ if name.starts_with('.') {
246+ continue;
247+ }
245248 let mut r = WavReader::open(&path).unwrap_or_else(|e| panic!("{name}: {e}"));
246249 let spec = r.spec();
247250 // The generator names layout and rate in the file name; the header must agree.