summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/library/font.typ5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/typ/library/font.typ b/tests/typ/library/font.typ
index 566f2e87..c00bff5a 100644
--- a/tests/typ/library/font.typ
+++ b/tests/typ/library/font.typ
@@ -18,7 +18,7 @@
#font(weight: bold)[Bold]
// Set stretch (not available, matching closest).
-#font(stretch: ultra-condensed)[Condensed]
+#font(stretch: 50%)[Condensed]
// Set family.
#font("PT Sans")[Sans serif]
@@ -45,5 +45,8 @@ Emoji: 🐪, 🌋, 🏞
// Warning: 15-19 should be between 100 and 900
#font(weight: 2700)
+// Warning: 16-21 should be between 50% and 200%
+#font(stretch: 1000%)
+
// Error: 7-27 unexpected argument
#font(something: "invalid")