diff --git a/crates/paint/src/mixer_click_empty_layer_tests.rs b/crates/paint/src/mixer_click_empty_layer_tests.rs index 3cde70eef2..6c0ec73cbf 100644 --- a/crates/paint/src/mixer_click_empty_layer_tests.rs +++ b/crates/paint/src/mixer_click_empty_layer_tests.rs @@ -20,7 +20,7 @@ fn click_with(s: &mut Surface, wet: f32, mix: f32, flow: f32) { let mut st = MixerState::default(); st.load([0.0, 0.0, 0.0, 1.0]); let m = MixerSettings { wet, load: 0.75, mix, flow, ..Default::default() }; - apply_mixer_stroke(s, None, &stroke, &m, &mut st, None, false); + apply_mixer_stroke(s, None, &stroke, &m, &mut st, None, false).unwrap(); } fn alpha(s: &Surface, x: i32, y: i32) -> i32 { diff --git a/crates/paint/src/replace_anti_alias_tests.rs b/crates/paint/src/replace_anti_alias_tests.rs index 92bf846f8f..75c0f8d8e9 100644 --- a/crates/paint/src/replace_anti_alias_tests.rs +++ b/crates/paint/src/replace_anti_alias_tests.rs @@ -40,7 +40,7 @@ fn click_with(anti_alias: bool, flow: f32, hardness: f32) -> Surface { color: [0.0, 0.0, 1.0, 1.0], ..Default::default() }; - apply_color_replacement(&mut s, &stroke, &rs, None, false); + apply_color_replacement(&mut s, &stroke, &rs, None, false).unwrap(); s }