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