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() {
293
293
let mut file = temp_file ! ( "tests/taglib/data/garbage.mp3" ) ;
294
294
295
295
{
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 ( ) ;
297
297
file. rewind ( ) . unwrap ( ) ;
298
298
assert ! ( f. id3v2( ) . is_some( ) ) ;
299
299
@@ -303,7 +303,7 @@ fn test_ignore_garbage() {
303
303
}
304
304
file. rewind ( ) . unwrap ( ) ;
305
305
{
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 ( ) ;
307
307
assert ! ( f. id3v2( ) . is_some( ) ) ;
308
308
assert_eq ! ( f. id3v2( ) . unwrap( ) . title( ) . as_deref( ) , Some ( "Title B" ) ) ;
309
309
}
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ fn test_clear_comment() {
94
94
#[ test]
95
95
#[ ignore]
96
96
fn 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.
98
98
//
99
99
// When adding a field of the same key, TagLib will append each value to the same value.
100
100
// Meaning:
You can’t perform that action at this time.
0 commit comments