diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/structure/enum.png | bin | 25686 -> 28037 bytes | |||
| -rw-r--r-- | tests/ref/style/show-node.png | bin | 22014 -> 23385 bytes | |||
| -rw-r--r-- | tests/ref/style/wrap.png | bin | 24733 -> 24846 bytes | |||
| -rw-r--r-- | tests/typ/structure/enum.typ | 10 | ||||
| -rw-r--r-- | tests/typ/style/show-node.typ | 1 | ||||
| -rw-r--r-- | tests/typ/style/wrap.typ | 2 |
6 files changed, 6 insertions, 7 deletions
diff --git a/tests/ref/structure/enum.png b/tests/ref/structure/enum.png Binary files differindex a9111f57..0fcae99d 100644 --- a/tests/ref/structure/enum.png +++ b/tests/ref/structure/enum.png diff --git a/tests/ref/style/show-node.png b/tests/ref/style/show-node.png Binary files differindex 3cb3539c..63be751a 100644 --- a/tests/ref/style/show-node.png +++ b/tests/ref/style/show-node.png diff --git a/tests/ref/style/wrap.png b/tests/ref/style/wrap.png Binary files differindex 82d1c34d..7fb8dfc5 100644 --- a/tests/ref/style/wrap.png +++ b/tests/ref/style/wrap.png diff --git a/tests/typ/structure/enum.typ b/tests/typ/structure/enum.typ index b1045ee2..7bd6fa88 100644 --- a/tests/typ/structure/enum.typ +++ b/tests/typ/structure/enum.typ @@ -46,6 +46,11 @@ ) --- +#set enum(label: n => n > 1) +. A +. B + +--- // Lone dot is not a list. . @@ -56,8 +61,3 @@ --- // Error: 18-24 invalid pattern #set enum(label: "(())") - ---- -// Error: 18-28 expected content, found boolean -#set enum(label: n => false) -. A diff --git a/tests/typ/style/show-node.typ b/tests/typ/style/show-node.typ index 678ff151..33895add 100644 --- a/tests/typ/style/show-node.typ +++ b/tests/typ/style/show-node.typ @@ -76,7 +76,6 @@ Another text. } --- -// Error: 18-22 expected content, found integer #show heading as 1234 = Heading diff --git a/tests/typ/style/wrap.typ b/tests/typ/style/wrap.typ index 57f21f99..e37c4bc9 100644 --- a/tests/typ/style/wrap.typ +++ b/tests/typ/style/wrap.typ @@ -25,8 +25,8 @@ A [_B #wrap c in [*#c*]; C_] D Forest --- +// Ok, whatever. { - // Error: 3-24 expected remaining block to yield content, found integer wrap body in 2 * body 2 } |
