summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/call.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-30 15:13:28 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-30 16:45:41 +0100
commitf70cea508cd30fa40770ea989fe2a19e715a357b (patch)
tree731bb96b375dc8fd0f7e5a2a7e1d1fe5cb2a600e /tests/typ/compiler/call.typ
parentfe1f4400693690b68db5a7ec0976ba998624a740 (diff)
Remove index syntax in favor of accessor methods
Diffstat (limited to 'tests/typ/compiler/call.typ')
-rw-r--r--tests/typ/compiler/call.typ8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/compiler/call.typ b/tests/typ/compiler/call.typ
index dc582c9c..7ea0a998 100644
--- a/tests/typ/compiler/call.typ
+++ b/tests/typ/compiler/call.typ
@@ -48,25 +48,25 @@
#set text(family: "Arial", family: "Helvetica")
---
-// Error: 2-6 expected callable or collection, found boolean
+// Error: 2-6 expected function, found boolean
{true()}
---
#let x = "x"
-// Error: 1-3 expected callable or collection, found string
+// Error: 1-3 expected function, found string
#x()
---
#let f(x) = x
-// Error: 1-6 expected callable or collection, found integer
+// Error: 1-6 expected function, found integer
#f(1)(2)
---
#let f(x) = x
-// Error: 1-6 expected callable or collection, found content
+// Error: 1-6 expected function, found content
#f[1](2)
---