summaryrefslogtreecommitdiff
path: root/tests/typ/func-font-error.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-13 14:07:38 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-13 14:07:38 +0100
commit60154474ba1cf4a556bbed7f80ee0947c29dbca8 (patch)
treeb864fb2503c6a49f1c6676db85d6d3397462a35b /tests/typ/func-font-error.typ
parent539735e668f601058c2c71a847335e17fac107e8 (diff)
Enable multiple tests per file 🧱
Diffstat (limited to 'tests/typ/func-font-error.typ')
-rw-r--r--tests/typ/func-font-error.typ21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/typ/func-font-error.typ b/tests/typ/func-font-error.typ
deleted file mode 100644
index b75a4fb7..00000000
--- a/tests/typ/func-font-error.typ
+++ /dev/null
@@ -1,21 +0,0 @@
-// Test error cases of the `font` function.
-
-// Not one of the valid things for positional arguments.
-[font false]
-
-// Wrong types.
-[font style: bold, weight: "thin", serif: 0]
-
-// Weight out of range.
-[font weight: 2700]
-
-// Non-existing argument.
-[font something: "invalid"]
-
-// compare-ref: false
-// error: 4:7-4:12 unexpected argument
-// error: 7:14-7:18 expected font style, found font weight
-// error: 7:28-7:34 expected font weight, found string
-// error: 7:43-7:44 expected font family or array of font families, found integer
-// warning: 10:15-10:19 must be between 100 and 900
-// error: 13:7-13:27 unexpected argument