summaryrefslogtreecommitdiff
path: root/tests/typ/text/features.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-08 10:43:03 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-08 10:44:24 +0100
commit1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (patch)
tree682124c2343db9491c84bddbdca026c676f220c6 /tests/typ/text/features.typ
parent25b5bd117529cd04bb789e1988eb3a3db8025a0e (diff)
Require font to be a named argument
Diffstat (limited to 'tests/typ/text/features.typ')
-rw-r--r--tests/typ/text/features.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/text/features.typ b/tests/typ/text/features.typ
index c706afed..360e8a11 100644
--- a/tests/typ/text/features.typ
+++ b/tests/typ/text/features.typ
@@ -11,7 +11,7 @@
---
// Test alternates and stylistic sets.
-#set text("IBM Plex Serif")
+#set text(font: "IBM Plex Serif")
a vs #text(alternates: true)[a] \
ß vs #text(stylistic-set: 5)[ß]
@@ -33,7 +33,7 @@ fi vs. #text(ligatures: false)[No fi]
---
// Test extra number stuff.
-#set text("IBM Plex Serif")
+#set text(font: "IBM Plex Serif")
0 vs. #text(slashed-zero: true)[0] \
1/2 vs. #text(fractions: true)[1/2]