diff options
Diffstat (limited to 'tests/typ/structure')
| -rw-r--r-- | tests/typ/structure/table.typ | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/typ/structure/table.typ b/tests/typ/structure/table.typ index 57b71ede..527141c5 100644 --- a/tests/typ/structure/table.typ +++ b/tests/typ/structure/table.typ @@ -2,7 +2,7 @@ --- #set page(height: 70pt) -#set table(primary: rgb("aaa"), secondary: none) +#set table(fill: (x, y) => if even(x + y) { rgb("aaa") }) #table( columns: (1fr,) * 3, @@ -16,3 +16,7 @@ --- // Ref: false #table() + +--- +// Error: 14-19 expected color or none or function, found string +#table(fill: "hey") |
