summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/text-alternates-and-stylistic-sets.pngbin458 -> 1223 bytes
-rw-r--r--tests/suite/layout/inline/text.typ5
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/ref/text-alternates-and-stylistic-sets.png b/tests/ref/text-alternates-and-stylistic-sets.png
index 877542fc..48300021 100644
--- a/tests/ref/text-alternates-and-stylistic-sets.png
+++ b/tests/ref/text-alternates-and-stylistic-sets.png
Binary files differ
diff --git a/tests/suite/layout/inline/text.typ b/tests/suite/layout/inline/text.typ
index ba0e625e..369aba7f 100644
--- a/tests/suite/layout/inline/text.typ
+++ b/tests/suite/layout/inline/text.typ
@@ -9,7 +9,8 @@
// Test alternates and stylistic sets.
#set text(font: "IBM Plex Serif")
a vs #text(alternates: true)[a] \
-ß vs #text(stylistic-set: 5)[ß]
+ß vs #text(stylistic-set: 5)[ß] \
+10 years ago vs #text(stylistic-set: (1, 2, 3))[10 years ago]
--- text-ligatures ---
// Test text turning off (standard) ligatures of the font.
@@ -43,7 +44,7 @@ waltz vs #text(discretionary-ligatures: true)[waltz]
fi vs. #text(features: (liga: 0))[No fi]
--- text-stylistic-set-bad-type ---
-// Error: 26-31 expected integer or none, found boolean
+// Error: 26-31 expected none, integer, or array, found boolean
#set text(stylistic-set: false)
--- text-stylistic-set-out-of-bounds ---