From ccbeae48322fdb6996bfeea9a888d6e201439c00 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Wed, 2 Dec 2026 22:11:04 -0800 Subject: [PATCH] EPS import: the 4096 x 4096 sampled function test fails on any rejection The test only checked that no warning mentioned limitcheck, so a rangecheck or typecheck at the size limit would still pass. It now checks that the import reports no error at all. --- crates/eps/src/import/tests_generators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eps/src/import/tests_generators.rs b/crates/eps/src/import/tests_generators.rs index 17df25cd9c..260a6c0fe6 100644 --- a/crates/eps/src/import/tests_generators.rs +++ b/crates/eps/src/import/tests_generators.rs @@ -1010,7 +1010,7 @@ fn hostile_patterns_glyphs_and_shadings_end() { )) }; let r = sized("4096 4096"); - assert!(!r.warnings.iter().any(|w| w.contains("limitcheck")), "{:?}", r.warnings); + assert!(!r.warnings.iter().any(|w| w.contains("error")), "{:?}", r.warnings); let r = sized("4096 4097"); assert!(r.warnings[0].contains("limitcheck in `shfill`: Size"), "{:?}", r.warnings); // Procedures nesting through operators that run them end at the nesting limit.