Skip to content

Commit c06d4f2

Browse files
Methapon2001Serial-ATA
authored andcommitted
test(flac/vorbis): fix failed test caused by implicit conversion
Change to its own field instead because implicit conversion is covered by another test.
1 parent 0feeba4 commit c06d4f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lofty/tests/taglib/test_flac.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ fn test_properties() {
296296
);
297297
tag.push(String::from("COMMENT"), String::from("Comment"));
298298
tag.push(String::from("DATE"), String::from("2021-01-10"));
299-
tag.push(String::from("DISCNUMBER"), String::from("3/5"));
299+
tag.push(String::from("DISCNUMBER"), String::from("3"));
300+
tag.push(String::from("DISCTOTAL"), String::from("5"));
300301
tag.push(String::from("GENRE"), String::from("Genre"));
301302
tag.push(String::from("ISRC"), String::from("UKAAA0500001"));
302303
tag.push(String::from("LABEL"), String::from("Label 1"));

0 commit comments

Comments
 (0)