diff options
| author | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2024-03-16 06:24:45 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-16 09:24:45 +0000 |
| commit | c8d4a4d2b6af45862f9bbd0787f1c569170b17dc (patch) | |
| tree | 0eeab5a5e6b99f625dfc72efbf2a1d71396e571c | |
| parent | 2bf9f95dd83f2ceef1e32ae1847a162c7d193f76 (diff) | |
Remove grid usize overflow tests (#3687)
| -rw-r--r-- | tests/typ/layout/grid-positioning.typ | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/typ/layout/grid-positioning.typ b/tests/typ/layout/grid-positioning.typ index 5461fb1c..228fadf7 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] -) |
