summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-11-02 10:30:27 +0100
committerLaurenz <laurmaedje@gmail.com>2021-11-02 10:39:45 +0100
commitc4a87e5e7c5032d2579cdd23939aedec499f93f0 (patch)
treeddc1127ccc209084369b64587ea3a76c0848b62f /tests
parent072e7c710c763904ad3ee72cfb05252f9f0d3929 (diff)
Number style -> type
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/text/features.typ10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/text/features.typ b/tests/typ/text/features.typ
index 10214bdb..fc84514b 100644
--- a/tests/typ/text/features.typ
+++ b/tests/typ/text/features.typ
@@ -21,10 +21,10 @@ a vs #font(alternates: true)[a] \
fi vs. #font(ligatures: false)[No fi] \
---
-// Test number style.
+// Test number type.
#font("Roboto")
-#font(number-style: "old-style") 0123456789 \
-#font(number-style: auto)[0123456789]
+#font(number-type: "old-style") 0123456789 \
+#font(number-type: auto)[0123456789]
---
// Test number width.
@@ -57,8 +57,8 @@ fi vs. #font(features: (liga: 0))[No fi]
#font(stylistic-set: 25)
---
-// Error: 21-32 expected "lining" or "old-style"
-#font(number-style: "different")
+// Error: 20-31 expected "lining" or "old-style"
+#font(number-type: "different")
---
// Error: 17-22 expected array of strings or dictionary mapping tags to integers, found boolean