summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/spread.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/spread.typ')
-rw-r--r--tests/typ/compiler/spread.typ8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/compiler/spread.typ b/tests/typ/compiler/spread.typ
index f4864faf..23cd587b 100644
--- a/tests/typ/compiler/spread.typ
+++ b/tests/typ/compiler/spread.typ
@@ -61,11 +61,11 @@
#test(f(1, 2, 3), 3)
---
-// Error: 13-19 cannot spread string
+// Error: 11-19 cannot spread string
#calc.min(.."nope")
---
-// Error: 10-14 expected identifier, found boolean
+// Error: 10-14 expected pattern, found boolean
#let f(..true) = none
---
@@ -90,11 +90,11 @@
}
---
-// Error: 11-17 cannot spread dictionary into array
+// Error: 9-17 cannot spread dictionary into array
#(1, 2, ..(a: 1))
---
-// Error: 5-11 cannot spread array into dictionary
+// Error: 3-11 cannot spread array into dictionary
#(..(1, 2), a: 1)
---