diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-03-11 12:59:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-03-11 23:36:06 +0100 |
| commit | 5ac7eb3860ebd3247f6486c227e816894cb8fd91 (patch) | |
| tree | a29a868c681c7de39f15f2d9d3f031db1861b90a /tests/typ/utility | |
| parent | 5ce2a006b6d45d29be15e4562ae3ab4fc1b8e97c (diff) | |
Rename template to content
Diffstat (limited to 'tests/typ/utility')
| -rw-r--r-- | tests/typ/utility/basics.typ | 4 | ||||
| -rw-r--r-- | tests/typ/utility/collection.typ | 6 | ||||
| -rw-r--r-- | tests/typ/utility/math.typ | 2 |
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") --- |
