diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-10-05 19:45:38 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-10-05 19:45:38 +0200 |
| commit | ae05dc08765b8db8e149a56627cd29a878a0bce5 (patch) | |
| tree | 36a45bb9308784d514d6cb8aa1d257440e213686 /tests/typ/utility | |
| parent | 0a23bfbc23ec68ed229b78c8f9995928c133c4a6 (diff) | |
Always use first positional argument in `expect()`
This changes `#h(100)` from "missing argument: spacing" to "expected linear, found integer".
Diffstat (limited to 'tests/typ/utility')
| -rw-r--r-- | tests/typ/utility/collection.typ | 2 | ||||
| -rw-r--r-- | tests/typ/utility/math.typ | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/utility/collection.typ b/tests/typ/utility/collection.typ index a97184d3..92ec2867 100644 --- a/tests/typ/utility/collection.typ +++ b/tests/typ/utility/collection.typ @@ -19,7 +19,7 @@ #len() --- -// Error: 6-10 expected string, array or dictionary +// Error: 6-10 expected string, array or dictionary, found length #len(12pt) --- diff --git a/tests/typ/utility/math.typ b/tests/typ/utility/math.typ index aeb0d6ad..7217babe 100644 --- a/tests/typ/utility/math.typ +++ b/tests/typ/utility/math.typ @@ -16,7 +16,7 @@ #abs(10pt + 50%) --- -// Error: 6-17 expected numeric value +// Error: 6-17 expected numeric value, found string #abs("no number") --- |
