summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-21 13:08:18 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-21 13:08:18 +0100
commit53b57d82942537929463793b3a50654462cf78d7 (patch)
tree3177d791d76c051aaf45fa991ed7210fb99ec87b /tests
parentc913271b2965027953c71a0b8f85a8c7cb802444 (diff)
Fix show rule colon error message
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/compiler/show-bare.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/compiler/show-bare.typ b/tests/typ/compiler/show-bare.typ
index 6ff0acec..210f072d 100644
--- a/tests/typ/compiler/show-bare.typ
+++ b/tests/typ/compiler/show-bare.typ
@@ -31,3 +31,11 @@ Ignored
---
// Error: 4-19 show is only allowed directly in code and content blocks
#((show: body => 2) * body)
+
+---
+// Error: 6 expected colon
+#show it => {}
+
+---
+// Error: 6 expected colon
+#show it