Add a test
This commit is contained in:
parent
04eb421186
commit
2ab647efe1
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Reference in a new issue