summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-11 21:41:27 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-11 21:54:13 +0200
commit6dcb65e3a30c59f4a99cd1a985075b1d0adc385f (patch)
tree2c6472532ee7ac42f3d496576ee9bc5dc2196200 /tests/typ
parentdb24996161e275de9bdca8d3bbcbb9ef31abd762 (diff)
Improve documentation
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/meta/document.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typ/meta/document.typ b/tests/typ/meta/document.typ
index bc9d4908..f4676f3c 100644
--- a/tests/typ/meta/document.typ
+++ b/tests/typ/meta/document.typ
@@ -23,6 +23,10 @@ Hello
#set document(title: "Hello")
---
+// Error: 10-12 can only be used in set rules
+#document()
+
+---
#box[
// Error: 4-32 document set rules are not allowed inside of containers
#set document(title: "Hello")