summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/call.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-24 16:58:51 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-24 16:58:51 +0200
commit017027bf392f7be2e73428fa34a3d1ef0b8d255e (patch)
tree55d862cc8c987c0b842ad063df653f97606f6d73 /tests/typ/compiler/call.typ
parentb9d03be9755dae7f439763d181ec0c55a1e4c3d6 (diff)
Rework delimiter errors
Fixes #572
Diffstat (limited to 'tests/typ/compiler/call.typ')
-rw-r--r--tests/typ/compiler/call.typ7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/typ/compiler/call.typ b/tests/typ/compiler/call.typ
index 04eb2906..77e17b50 100644
--- a/tests/typ/compiler/call.typ
+++ b/tests/typ/compiler/call.typ
@@ -94,13 +94,14 @@
#func((x):1)
---
-// Error: 2:1 expected closing bracket
+// Error: 6-7 unclosed delimiter
#func[`a]`
---
-// Error: 8 expected closing paren
+// Error: 7-8 unclosed delimiter
#{func(}
---
-// Error: 2:1 expected quote
+// Error: 6-7 unclosed delimiter
+// Error: 1:7-2:1 unclosed string
#func("]