Skip to content

Commit

Permalink
test(operations): ✅ fixed build errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SalOne22 committed Aug 17, 2024
1 parent c980e9a commit 911d173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operations/icc/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ fn apply_icc_profile() {
let src_profile = Profile::new_srgb().icc().unwrap();
image.metadata_mut().set_icc_chunk(src_profile);

let target_profile = Profile::new_file("tests/files/icc/tinysrgb.icc").unwrap();
let target_profile =
Profile::new_file_context(ThreadContext::new(), "tests/files/icc/tinysrgb.icc").unwrap();

let icc = target_profile.icc().unwrap();

Expand Down

0 comments on commit 911d173

Please sign in to comment.