diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-15 22:51:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-15 23:11:20 +0100 |
| commit | b6202b646a0d5ecced301d9bac8bfcaf977d7ee4 (patch) | |
| tree | 7d42cb50f9e66153e7e8b2217009684e25f54f42 /tests/typ/text/features.typ | |
| parent | f3980c704544a464f9729cc8bc9f97d3a7454769 (diff) | |
Reflection for castables
Diffstat (limited to 'tests/typ/text/features.typ')
| -rw-r--r-- | tests/typ/text/features.typ | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/typ/text/features.typ b/tests/typ/text/features.typ index 070fdcdf..cae240f3 100644 --- a/tests/typ/text/features.typ +++ b/tests/typ/text/features.typ @@ -55,9 +55,13 @@ fi vs. #text(features: (liga: 0))[No fi] #set text(stylistic-set: 25) --- -// Error: 24-25 expected string or auto, found integer +// Error: 24-25 expected "lining", "old-style", or auto, found integer #set text(number-type: 2) --- -// Error: 21-26 expected array of strings or dictionary mapping tags to integers, found boolean +// Error: 21-26 expected array or dictionary, found boolean #set text(features: false) + +--- +// Error: 21-35 expected string, found boolean +#set text(features: ("tag", false)) |
