From e013ca30c465b77c648c7f6277f503bf6ba8cee4 Mon Sep 17 00:00:00 2001 From: Serial <69764315+Serial-ATA@users.noreply.github.com> Date: Thu, 27 Jul 2023 03:21:16 -0400 Subject: [PATCH] Tests: Ignore testFLAC::testMultipleCommentBlocks --- tests/taglib/test_flac.rs | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/tests/taglib/test_flac.rs b/tests/taglib/test_flac.rs index 46bb13d94..1b9073e51 100644 --- a/tests/taglib/test_flac.rs +++ b/tests/taglib/test_flac.rs @@ -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]