diff options
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/edge.typ | 4 | ||||
| -rw-r--r-- | tests/typ/text/features.typ | 8 | ||||
| -rw-r--r-- | tests/typ/text/font.typ | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/tests/typ/text/edge.typ b/tests/typ/text/edge.typ index c3c60b28..26be4aeb 100644 --- a/tests/typ/text/edge.typ +++ b/tests/typ/text/edge.typ @@ -17,9 +17,9 @@ #try(1pt + 0.3em, -0.15em) --- -// Error: 21-23 expected string or length, found array +// Error: 21-23 expected length, "ascender", "cap-height", "x-height", "baseline", or "descender", found array #set text(top-edge: ()) --- -// Error: 24-26 unknown font metric +// Error: 24-26 expected length, "ascender", "cap-height", "x-height", "baseline", or "descender" #set text(bottom-edge: "") 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)) diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ index e57fedbd..170703c7 100644 --- a/tests/typ/text/font.typ +++ b/tests/typ/text/font.typ @@ -48,7 +48,7 @@ Emoji: 🐪, 🌋, 🏞 #set text(false) --- -// Error: 18-24 expected "normal", "italic" or "oblique" +// Error: 18-24 expected "normal", "italic", or "oblique" #set text(style: "bold", weight: "thin") --- |
