mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-31 15:49:38 +03:00
Add a test
This commit is contained in:
parent
04eb421186
commit
2ab647efe1
@ -228,4 +228,10 @@ Tracklist:
|
|||||||
Expect(md.Year()).To(Equal(0))
|
Expect(md.Year()).To(Equal(0))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
It("creates a valid command line", func() {
|
||||||
|
args := createProbeCommand([]string{"/music library/one.mp3", "/music library/two.mp3"})
|
||||||
|
Expect(args).To(Equal([]string{"ffmpeg", "-i", "/music library/one.mp3", "-i", "/music library/two.mp3", "-f", "ffmetadata" }))
|
||||||
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user