fixed player test relative file paths
This commit is contained in:
1 parent
32b7d2b457
commit
4902093b0c
2 files changed
+4
-3
No files matched your search
@@ -163,5 +163,6 @@ func (p *Player) getUserVolume() UserVolume {
|
||||
}
|
||||
|
||||
func (p *Player) MuteToggle() error {
|
||||
p.volume.Silent = !p.volume.Silent
|
||||
return nil
|
||||
}
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
)
|
||||
|
||||
var testQueue = []string{
|
||||
"./test_data/music_library_test/other_music/03 PONPONPON.mp3",
|
||||
"./test_data/music_library_test/01 Some Chords.mp3",
|
||||
"./test_data/music_library_test/03 anything.mp3",
|
||||
"../../test_data/music_library_test/other_music/03 PONPONPON.mp3",
|
||||
"../../test_data/music_library_test/01 Some Chords.mp3",
|
||||
"../../test_data/music_library_test/03 anything.mp3",
|
||||
}
|
||||
|
||||
func TestPlayer(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user