Make test more reliable
In some systems, it was detecting the `go.mod` file as an audio file, probably because of the system's mime-type configuration
This commit is contained in:
parent
fb4d920fba
commit
d7edbf93f0
2 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ var _ = Describe("Metadata", func() {
|
||||||
})
|
})
|
||||||
|
|
||||||
It("returns empty map if there are no audio files in path", func() {
|
It("returns empty map if there are no audio files in path", func() {
|
||||||
Expect(LoadAllAudioFiles(".")).To(BeEmpty())
|
Expect(LoadAllAudioFiles("tests/empty_folder")).To(BeEmpty())
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
0
tests/empty_folder/not_an_audio_file.txt
Normal file
0
tests/empty_folder/not_an_audio_file.txt
Normal file
Loading…
Reference in a new issue