diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/meta/document.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/meta/document.typ')
| -rw-r--r-- | tests/typ/meta/document.typ | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/tests/typ/meta/document.typ b/tests/typ/meta/document.typ deleted file mode 100644 index b058bd96..00000000 --- a/tests/typ/meta/document.typ +++ /dev/null @@ -1,49 +0,0 @@ -// Test document and page-level styles. - ---- -// This is okay. -#set document(title: [Hello]) -What's up? - ---- -// This, too. -// Ref: false -#set document(author: ("A", "B"), date: datetime.today()) - ---- -// Error: 21-28 expected datetime, none, or auto, found string -#set document(date: "today") - ---- -// This, too. -// Error: 23-29 expected string, found integer -#set document(author: (123,)) -What's up? - ---- -Hello - -// Error: 2-30 document set rules must appear before any content -#set document(title: [Hello]) - ---- -// Error: 2-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]) -] - ---- -#box[ - // Error: 4-18 page configuration is not allowed inside of containers - #set page("a4") -] - ---- -#box[ - // Error: 4-15 pagebreaks are not allowed inside of containers - #pagebreak() -] |
