mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-27 00:42:16 +03:00
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
@ -62,7 +62,7 @@ var _ = Describe("Metadata", 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…
x
Reference in New Issue
Block a user