Add more replaygain tests, fix wma (#2356)
* add more replaygain tests, fix wma * Convert individual specs to a table spec * Fix pipeline, by commenting incompatible tests --------- Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -56,15 +56,15 @@ var _ = Describe("Tags", func() {
|
||||
|
||||
m = mds["tests/fixtures/test.ogg"]
|
||||
Expect(err).To(BeNil())
|
||||
Expect(m.Title()).To(BeEmpty())
|
||||
Expect(m.Title()).To(Equal("Title"))
|
||||
Expect(m.HasPicture()).To(BeFalse())
|
||||
Expect(m.Duration()).To(BeNumerically("~", 1.04, 0.01))
|
||||
Expect(m.Suffix()).To(Equal("ogg"))
|
||||
Expect(m.FilePath()).To(Equal("tests/fixtures/test.ogg"))
|
||||
Expect(m.Size()).To(Equal(int64(5178)))
|
||||
Expect(m.Size()).To(Equal(int64(6333)))
|
||||
// TabLib 1.12 returns 18, previous versions return 39.
|
||||
// See https://github.com/taglib/taglib/commit/2f238921824741b2cfe6fbfbfc9701d9827ab06b
|
||||
Expect(m.BitRate()).To(BeElementOf(18, 39, 40))
|
||||
Expect(m.BitRate()).To(BeElementOf(18, 39, 40, 49))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user