From 42884e4ee79abc009da02766d77e224bef26c045 Mon Sep 17 00:00:00 2001 From: Don Omondi <282319807+mockydevs@users.noreply.github.com> Date: Thu, 29 Oct 2026 20:11:10 +0300 Subject: [PATCH] test: the highlighted CMYK mesh PDF must have fills to check --- crates/engine/src/tests/live.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/engine/src/tests/live.rs b/crates/engine/src/tests/live.rs index 23904e488..aa09ad88f 100644 --- a/crates/engine/src/tests/live.rs +++ b/crates/engine/src/tests/live.rs @@ -1218,6 +1218,7 @@ fn cmyk_mesh_highlight_lightens_in_cmyk() { assert!(m.points.iter().all(|p| matches!(p.color, Color::Cmyk { .. })), "{app}"); let (fills, warnings) = pdf_fill_colours(&mut s); assert!(warnings.is_empty(), "{app}: no RGB to separate {warnings:?}"); + assert!(!fills.is_empty(), "{app}: no PDF fills"); for f in &fills { let [c, m, y, k] = f[..] else { panic!("{app}: not CMYK {f:?}") }; // Every ink in proportion to C0 M40 Y60 K10, lightened by at most half.