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.
This commit is contained in:
dotCooCoo committed 2026-12-02 22:11:04 -08:00
1 parent 314682ef6f
commit ccbeae4832
1 file changed
+1 -1
+1 -1
View File
@@ -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.