diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/utility/strings.typ | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/typ/utility/strings.typ b/tests/typ/utility/strings.typ index 87be630f..91be0faa 100644 --- a/tests/typ/utility/strings.typ +++ b/tests/typ/utility/strings.typ @@ -2,7 +2,8 @@ --- // Test the `upper`, `lower`, and number formatting functions. -#upper("Abc 8 def") +#upper("Abc 8") +#upper[def] #lower("SCREAMING MUST BE SILENCED in " + roman(1672) + " years") @@ -15,5 +16,9 @@ } --- +// Error: 8-9 expected string or template, found integer +#upper(1) + +--- // Error: 9-11 must be at least zero #symbol(-1) |
