summaryrefslogtreecommitdiff
path: root/tests/typ/utility
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/utility')
-rw-r--r--tests/typ/utility/basics.typ4
-rw-r--r--tests/typ/utility/collection.typ6
-rw-r--r--tests/typ/utility/math.typ2
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/typ/utility/basics.typ b/tests/typ/utility/basics.typ
index 304fe769..7fccc781 100644
--- a/tests/typ/utility/basics.typ
+++ b/tests/typ/utility/basics.typ
@@ -36,7 +36,7 @@
#test("(" + join("a", "b", "c", sep: ", ") + ")", "(a, b, c)")
---
-// Test joining templates.
+// Test content joining.
// Ref: true
#join([One], [Two], [Three], sep: [, ]).
@@ -72,7 +72,7 @@
#float(float)
---
-// Error: 6-8 cannot convert template to string
+// Error: 6-8 cannot convert content to string
#str([])
---
diff --git a/tests/typ/utility/collection.typ b/tests/typ/utility/collection.typ
index 649be4f7..e8be07b5 100644
--- a/tests/typ/utility/collection.typ
+++ b/tests/typ/utility/collection.typ
@@ -24,7 +24,7 @@
#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
---
-// Error: 8-9 expected string or template, found integer
+// Error: 8-9 expected string or content, found integer
#upper(1)
---
@@ -35,9 +35,9 @@
#test(sorted((2, 1, 3, 10, 5, 8, 6, -7, 2)), (-7, 1, 2, 2, 3, 5, 6, 8, 10))
---
-// Error: 9-21 cannot compare string with integer
+// Error: 9-21 cannot order string and integer
#sorted((1, 2, "ab"))
---
-// Error: 9-24 cannot compare template with template
+// Error: 9-24 cannot order content and content
#sorted(([Hi], [There]))
diff --git a/tests/typ/utility/math.typ b/tests/typ/utility/math.typ
index edbbd682..ec62dbd2 100644
--- a/tests/typ/utility/math.typ
+++ b/tests/typ/utility/math.typ
@@ -54,7 +54,7 @@
#min()
---
-// Error: 9-13 cannot compare integer with string
+// Error: 9-13 cannot compare integer and string
#min(1, "hi")
---