mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
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:
1 parent
314682ef6f
commit
ccbeae4832
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user