Skip to content

Commit 095ec03

Browse files
committed
Tests: Ignore testFLAC::testMultipleCommentBlocks
1 parent d4a8ce6 commit 095ec03

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

tests/taglib/test_flac.rs

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,11 @@ fn test_signature() {
2020
}
2121

2222
#[test]
23+
#[ignore]
2324
fn test_multiple_comment_blocks() {
24-
let mut file = temp_file!("tests/taglib/data/multiple-vc.flac");
25-
{
26-
let mut f = FlacFile::read_from(&mut file, ParseOptions::new()).unwrap();
27-
file.rewind().unwrap();
28-
29-
assert_eq!(
30-
f.vorbis_comments().unwrap().artist().as_deref(),
31-
Some("Artist 1")
32-
);
33-
f.vorbis_comments_mut()
34-
.unwrap()
35-
.set_artist(String::from("The Artist"));
36-
f.save_to(&mut file).unwrap();
37-
}
38-
file.rewind().unwrap();
39-
{
40-
let f = FlacFile::read_from(&mut file, ParseOptions::new()).unwrap();
41-
assert_eq!(
42-
f.vorbis_comments().unwrap().artist().as_deref(),
43-
Some("The Artist")
44-
);
45-
}
25+
// Marker test, Lofty does not replicate TagLib's behavior
26+
//
27+
// TagLib will use the *first* tag in the stream, while we use the latest.
4628
}
4729

4830
#[test]

0 commit comments

Comments
 (0)