diff options
| author | Ian Wrzesinski <133046678+wrzian@users.noreply.github.com> | 2024-11-17 04:18:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-17 09:18:44 +0000 |
| commit | 5672cc2a29379f7743f66c46a7192d698a733047 (patch) | |
| tree | 2af1428b34a9a6b67ce2e14e34a9606c0997c04e /tests/suite/model | |
| parent | 5db179d67ab27a9e19477a92bb1ed18fd82c8e76 (diff) | |
Update list/enum tests and recognize #762 as already closed (#5433)
Diffstat (limited to 'tests/suite/model')
| -rw-r--r-- | tests/suite/model/enum.typ | 9 | ||||
| -rw-r--r-- | tests/suite/model/list.typ | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/tests/suite/model/enum.typ b/tests/suite/model/enum.typ index 57a4d7a6..ed33157e 100644 --- a/tests/suite/model/enum.typ +++ b/tests/suite/model/enum.typ @@ -35,6 +35,15 @@ Empty \ +Nope \ a + 0. +--- enum-syntax-number-length --- +// Ensure that indentation works from the beginning of a number, not the end. + +10. a + 11. b + 12. c // same level as b + 13. d // indented past c +14. e + --- enum-number-override --- // Test item number overriding. 1. first diff --git a/tests/suite/model/list.typ b/tests/suite/model/list.typ index c3c123de..aa117672 100644 --- a/tests/suite/model/list.typ +++ b/tests/suite/model/list.typ @@ -35,7 +35,8 @@ _Shopping list_ - D --- list-indent-trivia-nesting --- -// Test indent nesting behavior with odd trivia (comments and spaces). +// Test indent nesting behavior with odd trivia (comments and spaces). The +// comments should _not_ affect the nesting. Only the final column matters. #let indented = [ - a @@ -48,9 +49,6 @@ _Shopping list_ /**/ - f /**/ - g ] -// Current behavior is that list columns are based on the first non-whitespace -// element in their line, so the block comments here determine the column the -// list starts at #let item = list.item #let manual = { |
