diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-24 19:56:01 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-24 19:56:01 +0100 |
| commit | efde5cac88078f10485f715be66a27efba2f23d8 (patch) | |
| tree | 6d8d8d778e88b317f0e85a8815f887757a445e36 /tests | |
| parent | ecd2bca606c0533ec6426b03fc216df256d43c3f (diff) | |
Lower and upper on templates
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) |
