summaryrefslogtreecommitdiff
path: root/tests/typ/func-font-error.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-12-21 00:40:09 +0100
committerLaurenz <laurmaedje@gmail.com>2020-12-21 00:40:09 +0100
commite59de77f96d43fa675c5c733ccf39ec2c22e949e (patch)
tree84d746c1d1ad863b8c8e2e9fda86ed842634a838 /tests/typ/func-font-error.typ
parent2b660968aa7e1e8efb7c396e17066a1a98c8c10e (diff)
Allow only a few predefined font classes in [font] 🚧
Diffstat (limited to 'tests/typ/func-font-error.typ')
-rw-r--r--tests/typ/func-font-error.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/func-font-error.typ b/tests/typ/func-font-error.typ
new file mode 100644
index 00000000..34ff5837
--- /dev/null
+++ b/tests/typ/func-font-error.typ
@@ -0,0 +1,6 @@
+// Test error cases of the `font` function.
+
+[font: something="invalid"]
+
+// compare-ref: false
+// error: 3:8-3:27 unexpected argument