summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-10 12:55:21 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-10 12:55:21 +0100
commit62f35602a87574dcc607f1637aeae1be574981ff (patch)
tree363a1918006e06d7d79dc2ace5f8e59cd3b6bb19 /tests/typ
parentc38d72383d2068361d635d6c1c78ba97aa917801 (diff)
New #[func] macro
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/compute/calc.typ4
-rw-r--r--tests/typ/text/lorem.typ2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/compute/calc.typ b/tests/typ/compute/calc.typ
index 67579493..ee063707 100644
--- a/tests/typ/compute/calc.typ
+++ b/tests/typ/compute/calc.typ
@@ -77,7 +77,7 @@
#test(calc.min("hi"), "hi")
---
-// Error: 10-12 missing argument: value
+// Error: 10-12 expected at least one value
#calc.min()
---
@@ -109,5 +109,5 @@
#range(4, step: "one")
---
-// Error: 18-19 step must not be zero
+// Error: 18-19 number must be positive
#range(10, step: 0)
diff --git a/tests/typ/text/lorem.typ b/tests/typ/text/lorem.typ
index 944fd5be..92dfbba4 100644
--- a/tests/typ/text/lorem.typ
+++ b/tests/typ/text/lorem.typ
@@ -28,5 +28,5 @@
}
---
-// Error: 7-9 missing argument: number of words
+// Error: 7-9 missing argument: words
#lorem()