Skip to content

Commit

Permalink
Tests: Update TagLib MP4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Sep 14, 2024
1 parent 57eac7f commit e8b89db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lofty/tests/taglib/test_mp4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ fn test_save_existing_when_ilst_is_last() {
let mut file = temp_file!("tests/taglib/data/ilst-is-last.m4a");

{
let mut f = Mp4File::read_from(&mut file, ParseOptions::new()).unwrap();
let mut f =
Mp4File::read_from(&mut file, ParseOptions::new().read_properties(false)).unwrap();
file.rewind().unwrap();

let ilst = f.ilst_mut().unwrap();
Expand All @@ -237,7 +238,7 @@ fn test_save_existing_when_ilst_is_last() {
}
file.rewind().unwrap();
{
let f = Mp4File::read_from(&mut file, ParseOptions::new()).unwrap();
let f = Mp4File::read_from(&mut file, ParseOptions::new().read_properties(false)).unwrap();
let ilst = f.ilst().unwrap();

assert_eq!(
Expand Down

0 comments on commit e8b89db

Please sign in to comment.