summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/show-node.typ2
-rw-r--r--tests/typ/compiler/show-selector.typ4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/typ/compiler/show-node.typ b/tests/typ/compiler/show-node.typ
index 42aee506..99a4364e 100644
--- a/tests/typ/compiler/show-node.typ
+++ b/tests/typ/compiler/show-node.typ
@@ -96,7 +96,7 @@ Hey
= Heading
---
-// Error: 7-10 expected function, label, string, regular expression, location, or selector, found color
+// Error: 7-10 expected function, label, string, regular expression, or selector, found color
#show red: []
---
diff --git a/tests/typ/compiler/show-selector.typ b/tests/typ/compiler/show-selector.typ
index d1229eee..19f43fee 100644
--- a/tests/typ/compiler/show-selector.typ
+++ b/tests/typ/compiler/show-selector.typ
@@ -37,3 +37,7 @@ the ```rs &mut T``` reference.
= Red
== Blue
=== Green
+
+---
+// Error: 7-35 this selector cannot be used with show
+#show selector(heading).or(strong): none