summaryrefslogtreecommitdiff
path: root/tests/typ/func-font-error.typ
diff options
context:
space:
mode:
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