From db24f4adfc8d14482e9dccf4155e431506ab19ee Mon Sep 17 00:00:00 2001 From: PgBiel <9021226+PgBiel@users.noreply.github.com> Date: Sat, 16 Mar 2024 06:24:45 -0300 Subject: [PATCH] Remove grid usize overflow tests (#3687) --- tests/typ/layout/grid-positioning.typ | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/tests/typ/layout/grid-positioning.typ b/tests/typ/layout/grid-positioning.typ index 5461fb1c5..228fadf71 100644 --- a/tests/typ/layout/grid-positioning.typ +++ b/tests/typ/layout/grid-positioning.typ @@ -203,29 +203,3 @@ // Robert got grade B on other exams. ..(table.cell(y: 4, fill: aqua)[B],) * 2, ) - ---- -// Error: 5:3-5:39 cell position too large -#grid( - columns: 3, - rows: 2em, - fill: (x, y) => if calc.odd(x + y) { red.lighten(50%) } else { green }, - grid.cell(y: 6148914691236517206)[a], -) - ---- -// Error: 5:3-5:46 cell position too large -#table( - columns: 3, - rows: 2em, - fill: (x, y) => if calc.odd(x + y) { red.lighten(50%) } else { green }, - table.cell(x: 2, y: 6148914691236517206)[a], -) - ---- -// Error: 3:3-3:45 cell would span an exceedingly large position -// Hint: 3:3-3:45 try reducing the cell's rowspan or colspan -#grid( - columns: 500, - grid.cell(rowspan: 6148914691236517206)[a] -)