summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSekoiaTree <51149447+SekoiaTree@users.noreply.github.com>2023-10-22 13:29:48 +0200
committerGitHub <noreply@github.com>2023-10-22 13:29:48 +0200
commit7f185f21e0b93c981ed99bd35ff1e981f48c7be0 (patch)
treec4dfb59c2ea67531d66ddb9ba29a604daa13107e /tests
parent3faad6bc5d7d6b7d83329363dd66b136b526afb8 (diff)
Add date to document (#2371)
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/meta/document.typ6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/typ/meta/document.typ b/tests/typ/meta/document.typ
index f4676f3c..814d547d 100644
--- a/tests/typ/meta/document.typ
+++ b/tests/typ/meta/document.typ
@@ -8,7 +8,11 @@ What's up?
---
// This, too.
// Ref: false
-#set document(author: ("A", "B"))
+#set document(author: ("A", "B"), date: datetime.today())
+
+---
+// Error: 21-28 expected datetime or none, found string
+#set document(date: "today")
---
// This, too.