File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ fn test_ignore_garbage() {
293293 let mut file = temp_file ! ( "tests/taglib/data/garbage.mp3" ) ;
294294
295295 {
296- let mut f = MpegFile :: read_from ( & mut file, ParseOptions :: new ( ) ) . unwrap ( ) ;
296+ let mut f = MpegFile :: read_from ( & mut file, ParseOptions :: new ( ) . max_junk_bytes ( 3000 ) ) . unwrap ( ) ;
297297 file. rewind ( ) . unwrap ( ) ;
298298 assert ! ( f. id3v2( ) . is_some( ) ) ;
299299
@@ -303,7 +303,7 @@ fn test_ignore_garbage() {
303303 }
304304 file. rewind ( ) . unwrap ( ) ;
305305 {
306- let f = MpegFile :: read_from ( & mut file, ParseOptions :: new ( ) ) . unwrap ( ) ;
306+ let f = MpegFile :: read_from ( & mut file, ParseOptions :: new ( ) . max_junk_bytes ( 3000 ) ) . unwrap ( ) ;
307307 assert ! ( f. id3v2( ) . is_some( ) ) ;
308308 assert_eq ! ( f. id3v2( ) . unwrap( ) . title( ) . as_deref( ) , Some ( "Title B" ) ) ;
309309 }
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ fn test_clear_comment() {
9494#[ test]
9595#[ ignore]
9696fn test_remove_fields ( ) {
97- // Market test, TagLib has some incredibly strange behavior in this test.
97+ // Marker test, TagLib has some incredibly strange behavior in this test.
9898 //
9999 // When adding a field of the same key, TagLib will append each value to the same value.
100100 // Meaning:
You can’t perform that action at this time.
0 commit comments