summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-03-12 14:24:24 +0100
committerLaurenz <laurmaedje@gmail.com>2022-03-12 14:24:24 +0100
commit2890a156d27c02a101137bf01dc2046597110bd1 (patch)
treec6bdeb48242c0fbd5b5e13120ca3c8f502d41b75 /tests/typ
parent5ac7eb3860ebd3247f6486c227e816894cb8fd91 (diff)
Remove classes and improve naming
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/style/show.typ8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/typ/style/show.typ b/tests/typ/style/show.typ
index e442e4d5..2e003b0a 100644
--- a/tests/typ/style/show.typ
+++ b/tests/typ/style/show.typ
@@ -34,16 +34,20 @@ Another text.
A [= Heading] C
---
-// Error: 1-22 unexpected argument
+// Error: 14-22 unexpected argument
#show heading() as []
= Heading
---
-// Error: 1-28 expected content, found string
+// Error: 14-28 expected content, found string
#show heading(_, _) as "hi"
= Heading
---
+// Error: 7-12 this function cannot be customized with show
+#show upper() as {}
+
+---
// Ref: false
// // Error: 1-29 show rule is recursive
// #show strong(x) as strong(x)