summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-26 15:08:23 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-26 15:09:03 +0100
commit36490f7f7bbe450b12faa24eba500909ccda3f85 (patch)
treef4d81df927f36c69e2b0ede1926d01044851a2fc /tests
parent7af46fc025ee08eb78ae7f6898300083c886bf6f (diff)
Make text and space nodes unselectable
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/style/show-node.typ6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/typ/style/show-node.typ b/tests/typ/style/show-node.typ
index 0124e61c..98f36f13 100644
--- a/tests/typ/style/show-node.typ
+++ b/tests/typ/style/show-node.typ
@@ -83,10 +83,14 @@ Another text.
= Heading
---
-// Error: 7-12 this function cannot be customized with show
+// Error: 7-12 this function is not selectable
#show upper: it => {}
---
+// Error: 7-11 to select text, please use a string or regex instead
+#show text: it => {}
+
+---
// Error: 16-20 expected content or function, found integer
#show heading: 1234
= Heading