summaryrefslogtreecommitdiff
path: root/tests/typ/text/features.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-22 14:30:43 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-29 16:47:35 +0100
commited50661378f356e02c6ec943bc4840091d33cfbd (patch)
tree7ed51339ea1a4b7ccc4308c902b36e86f9c07e26 /tests/typ/text/features.typ
parentcef46e6c40fed0089a20e44ff2f251c06878891c (diff)
Castable optional and smart values
Diffstat (limited to 'tests/typ/text/features.typ')
-rw-r--r--tests/typ/text/features.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/text/features.typ b/tests/typ/text/features.typ
index fc84514b..d60583d8 100644
--- a/tests/typ/text/features.typ
+++ b/tests/typ/text/features.typ
@@ -53,10 +53,18 @@ fi vs. #font(ligatures: false)[No fi] \
fi vs. #font(features: (liga: 0))[No fi]
---
+// Error: 22-27 expected integer or none, found boolean
+#font(stylistic-set: false)
+
+---
// Error: 22-24 must be between 1 and 20
#font(stylistic-set: 25)
---
+// Error: 20-21 expected string or auto, found integer
+#font(number-type: 2)
+
+---
// Error: 20-31 expected "lining" or "old-style"
#font(number-type: "different")