summaryrefslogtreecommitdiff
path: root/tests/typ/code/call.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-08-12 13:39:33 +0200
committerLaurenz <laurmaedje@gmail.com>2021-08-12 13:56:23 +0200
commiteaa3cbaa9c2b1564a4b0db013672245a1893314a (patch)
tree616a3d0f3686793caffcef72f230f8ba79b8f3ca /tests/typ/code/call.typ
parent8207c31aec6336b773fbf4661fdb87625c8b584e (diff)
Array and dictionary indexing
Diffstat (limited to 'tests/typ/code/call.typ')
-rw-r--r--tests/typ/code/call.typ8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ
index 118382e4..92ac17ae 100644
--- a/tests/typ/code/call.typ
+++ b/tests/typ/code/call.typ
@@ -68,25 +68,25 @@ C
}
---
-// Error: 2-6 expected function, found boolean
+// Error: 2-6 expected function or collection, found boolean
{true()}
---
#let x = "x"
-// Error: 1-3 expected function, found string
+// Error: 1-3 expected function or collection, found string
#x()
---
#let f(x) = x
-// Error: 1-6 expected function, found integer
+// Error: 1-6 expected function or collection, found integer
#f(1)(2)
---
#let f(x) = x
-// Error: 1-6 expected function, found template
+// Error: 1-6 expected function or collection, found template
#f[1](2)
---