summaryrefslogtreecommitdiff
path: root/tests/typ/code/closure.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/code/closure.typ')
-rw-r--r--tests/typ/code/closure.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/code/closure.typ b/tests/typ/code/closure.typ
index 45f232ca..aa7bc5b9 100644
--- a/tests/typ/code/closure.typ
+++ b/tests/typ/code/closure.typ
@@ -145,13 +145,13 @@
}
---
-// Error: 6-16 expected identifier, named pair or argument sink
+// Error: 6-16 expected identifier, named pair or argument sink, found keyed pair
{(a, "named": b) => none}
---
-// Error: 10-15 expected identifier
+// Error: 10-15 expected identifier, found string
#let foo("key": b) = key
---
-// Error: 10-14 expected identifier
+// Error: 10-14 expected identifier, found `none`
#let foo(none: b) = key