File tree Expand file tree Collapse file tree 11 files changed +12
-14
lines changed Expand file tree Collapse file tree 11 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
1212 // Here we have an AAC file with an ID3v2, and an ID3v1 tag
1313 let file = Probe :: open ( "tests/files/assets/minimal/full_test.aac" )
1414 . unwrap ( )
15- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15+ . options ( ParseOptions :: new ( ) )
1616 . read ( )
1717 . unwrap ( ) ;
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
1212 // Here we have an AIFF file with both an ID3v2 chunk and text chunks
1313 let file = Probe :: open ( "tests/files/assets/minimal/full_test.aiff" )
1414 . unwrap ( )
15- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15+ . options ( ParseOptions :: new ( ) )
1616 . read ( )
1717 . unwrap ( ) ;
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
1212 // Here we have an APE file with an ID3v2, ID3v1, and an APEv2 tag
1313 let file = Probe :: open ( "tests/files/assets/minimal/full_test.ape" )
1414 . unwrap ( )
15- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15+ . options ( ParseOptions :: new ( ) )
1616 . read ( )
1717 . unwrap ( ) ;
1818
Original file line number Diff line number Diff line change @@ -16,16 +16,14 @@ fn multiple_vorbis_comments() {
1616 // not allowed by spec.
1717 assert ! ( FlacFile :: read_from(
1818 & mut file,
19- ParseOptions :: new( )
20- . read_properties( false )
21- . parsing_mode( ParsingMode :: Strict )
19+ ParseOptions :: new( ) . parsing_mode( ParsingMode :: Strict )
2220 )
2321 . is_err( ) ) ;
2422
2523 file. rewind ( ) . unwrap ( ) ;
2624
2725 // But by default, we should just take the last tag in the stream
28- let f = FlacFile :: read_from ( & mut file, ParseOptions :: new ( ) . read_properties ( false ) ) . unwrap ( ) ;
26+ let f = FlacFile :: read_from ( & mut file, ParseOptions :: new ( ) ) . unwrap ( ) ;
2927
3028 // The first tag has the artist "Artist 1", the second has "Artist 2".
3129 assert_eq ! (
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
1212 // This file contains a tags element
1313 let file = Probe :: open ( "tests/files/assets/minimal/full_test.mka" )
1414 . unwrap ( )
15- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15+ . options ( ParseOptions :: new ( ) )
1616 . read ( )
1717 . unwrap ( ) ;
1818
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
1212 // This file contains an ilst atom
1313 let file = Probe :: open ( "tests/files/assets/minimal/m4a_codec_aac.m4a" )
1414 . unwrap ( )
15- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15+ . options ( ParseOptions :: new ( ) )
1616 . read ( )
1717 . unwrap ( ) ;
1818
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ macro_rules! generate_tests {
2020 // Here we have an MPC file with an ID3v2, ID3v1, and an APEv2 tag
2121 let file = Probe :: open( $path)
2222 . unwrap( )
23- . options( ParseOptions :: new( ) . read_properties ( false ) )
23+ . options( ParseOptions :: new( ) )
2424 . read( )
2525 . unwrap( ) ;
2626
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ fn read() {
1515 // Here we have an MP3 file with an ID3v2, ID3v1, and an APEv2 tag
1616 let file = Probe :: open ( "tests/files/assets/minimal/full_test.mp3" )
1717 . unwrap ( )
18- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
18+ . options ( ParseOptions :: new ( ) )
1919 . read ( )
2020 . unwrap ( ) ;
2121
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ fn speex_remove() {
8686fn read ( path : & str , file_type : FileType ) {
8787 let file = Probe :: open ( path)
8888 . unwrap ( )
89- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
89+ . options ( ParseOptions :: new ( ) )
9090 . read ( )
9191 . unwrap ( ) ;
9292
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn read() {
1212 // Here we have a WAV file with both an ID3v2 chunk and a RIFF INFO chunk
1313 let file = Probe :: open ( "tests/files/assets/minimal/wav_format_pcm.wav" )
1414 . unwrap ( )
15- . options ( ParseOptions :: new ( ) . read_properties ( false ) )
15+ . options ( ParseOptions :: new ( ) )
1616 . read ( )
1717 . unwrap ( ) ;
1818
You can’t perform that action at this time.
0 commit comments