Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jul 24, 2021
1 parent 4ed01ba commit b66c394
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scanner/metadata/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ var _ = Describe("Tags", func() {
Expect(m.Title()).To(BeEmpty())
Expect(m.HasPicture()).To(BeFalse())
Expect(m.Duration()).To(BeNumerically("~", 1.00, 0.01))
Expect(m.BitRate()).To(Equal(18))
Expect(m.Suffix()).To(Equal("ogg"))
Expect(m.FilePath()).To(Equal("tests/fixtures/test.ogg"))
Expect(m.Size()).To(Equal(int64(5065)))
// TabLib 1.12 returns 18, previous versions return 39.
// See https://github.com/taglib/taglib/commit/2f238921824741b2cfe6fbfbfc9701d9827ab06b
Expect(m.BitRate()).To(BeElementOf(18, 39))
})
})

Expand Down

0 comments on commit b66c394

Please sign in to comment.