diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-10 12:55:21 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-10 12:55:21 +0100 |
| commit | 62f35602a87574dcc607f1637aeae1be574981ff (patch) | |
| tree | 363a1918006e06d7d79dc2ace5f8e59cd3b6bb19 /tests/typ | |
| parent | c38d72383d2068361d635d6c1c78ba97aa917801 (diff) | |
New #[func] macro
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/compute/calc.typ | 4 | ||||
| -rw-r--r-- | tests/typ/text/lorem.typ | 2 |
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() |
