Skip to content

Commit d7ce520

Browse files
committed
Fix tests
1 parent 2215a49 commit d7ce520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fn test_convert_colorspace() {
234234
#[cfg(feature = "oiio")]
235235
#[test]
236236
fn 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")));

0 commit comments

Comments
 (0)