diff options
Diffstat (limited to 'tests/typ/layout/grid-stroke.typ')
| -rw-r--r-- | tests/typ/layout/grid-stroke.typ | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tests/typ/layout/grid-stroke.typ b/tests/typ/layout/grid-stroke.typ index 87389ad5..51b810d9 100644 --- a/tests/typ/layout/grid-stroke.typ +++ b/tests/typ/layout/grid-stroke.typ @@ -139,7 +139,7 @@ --- // Line specification order priority // The last line should be blue, not red. -// The middle line should have disappeared. +// The middle aqua line should be gone due to the 'none' override. #grid( columns: 2, inset: 2pt, @@ -345,6 +345,22 @@ ) --- +// Error: 7-20 cannot use `table.hline` as a grid line; use `grid.hline` instead +#grid(table.hline()) + +--- +// Error: 7-20 cannot use `table.vline` as a grid line; use `grid.vline` instead +#grid(table.vline()) + +--- +// Error: 8-20 cannot use `grid.hline` as a table line; use `table.hline` instead +#table(grid.hline()) + +--- +// Error: 8-20 cannot use `grid.vline` as a table line; use `table.vline` instead +#table(grid.vline()) + +--- // Error: 3:3-3:31 line cannot end before it starts #grid( columns: 3, |
