Skip to content

Commit

Permalink
Tests: Fix bitrate in TestOGG::testAudioProperties()
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Jan 3, 2024
1 parent 8032101 commit b3d7245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/taglib/test_ogg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn test_audio_properties() {
let f = get_file::<VorbisFile>("tests/taglib/data/empty.ogg");
assert_eq!(f.properties().duration().as_secs(), 3);
assert_eq!(f.properties().duration().as_millis(), 3685);
assert_eq!(f.properties().audio_bitrate(), 1);
assert_eq!(f.properties().audio_bitrate(), 112); // TagLib reports 1? That is not correct.
assert_eq!(f.properties().channels(), 2);
assert_eq!(f.properties().sample_rate(), 44100);
assert_eq!(f.properties().version(), 0);
Expand Down

0 comments on commit b3d7245

Please sign in to comment.