File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ fn test_convert_colorspace() {
234234#[ cfg( feature = "oiio" ) ]
235235#[ test]
236236fn test_metadata ( ) {
237- let input = ImageInput :: open ( "images/A.exr" ) . unwrap ( ) ;
237+ let input = ImageInput :: open ( "images/A.exr" , None ) . unwrap ( ) ;
238238 let a = input. spec ( ) . attrs ( ) ;
239239 println ! ( "KEYS: {:?}" , a) ;
240240
@@ -243,7 +243,7 @@ fn test_metadata() {
243243 output. spec_mut ( ) . set_attr ( "testing" , "123" ) ;
244244 output. write ( & image) . unwrap ( ) ;
245245
246- let input2 = ImageInput :: open ( "images/test.exr" ) . unwrap ( ) ;
246+ let input2 = ImageInput :: open ( "images/test.exr" , None ) . unwrap ( ) ;
247247 let b = input2. spec ( ) . attrs ( ) ;
248248 assert ! ( b. contains_key( & "testing" ) ) ;
249249 assert ! ( input2. spec( ) . get_attr( "testing" ) == Some ( Attr :: String ( "123" ) ) ) ;
You can’t perform that action at this time.
0 commit comments