summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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")