Skip to content

Commit

Permalink
Tests: Ignore testFLAC::testMultipleCommentBlocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Jul 27, 2023
1 parent b73039f commit e013ca3
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions tests/taglib/test_flac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,11 @@ fn test_signature() {
}

#[test]
#[ignore]
fn test_multiple_comment_blocks() {
let mut file = temp_file!("tests/taglib/data/multiple-vc.flac");
{
let mut f = FlacFile::read_from(&mut file, ParseOptions::new()).unwrap();
file.rewind().unwrap();

assert_eq!(
f.vorbis_comments().unwrap().artist().as_deref(),
Some("Artist 1")
);
f.vorbis_comments_mut()
.unwrap()
.set_artist(String::from("The Artist"));
f.save_to(&mut file).unwrap();
}
file.rewind().unwrap();
{
let f = FlacFile::read_from(&mut file, ParseOptions::new()).unwrap();
assert_eq!(
f.vorbis_comments().unwrap().artist().as_deref(),
Some("The Artist")
);
}
// Marker test, Lofty does not replicate TagLib's behavior
//
// TagLib will use the *first* tag in the stream, while we use the latest.
}

#[test]
Expand Down

0 comments on commit e013ca3

Please sign in to comment.