mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-28 13:48:53 +08:00
fix build error
This commit is contained in:
parent
a5a5bd140a
commit
4bc282ab3f
@ -40,7 +40,7 @@ func prepareTest() *Gomu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
root.SetReference(rootAudioFile)
|
root.SetReference(rootAudioFile)
|
||||||
populate(root, rootDir)
|
populate(root, rootDir, false)
|
||||||
gomu.playlist.SetRoot(root)
|
gomu.playlist.SetRoot(root)
|
||||||
|
|
||||||
return gomu
|
return gomu
|
||||||
@ -91,7 +91,7 @@ func TestPopulate(t *testing.T) {
|
|||||||
isAudioFile: false,
|
isAudioFile: false,
|
||||||
})
|
})
|
||||||
|
|
||||||
populate(root, rootDir)
|
populate(root, rootDir, false)
|
||||||
gotItems := 0
|
gotItems := 0
|
||||||
root.Walk(func(node, _ *tview.TreeNode) bool {
|
root.Walk(func(node, _ *tview.TreeNode) bool {
|
||||||
gotItems++
|
gotItems++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user