Use macro per-test-file
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
605798674f
commit
06816567ff
49 changed files with 213 additions and 271 deletions
|
|
@ -1,31 +0,0 @@
|
|||
---
|
||||
source: tests/file_tests.rs
|
||||
expression: parsed
|
||||
input_file: tests/cases/condition.nomo
|
||||
---
|
||||
ParsedTemplate {
|
||||
tokens: [
|
||||
[LeftDelim]"{{" (0..2),
|
||||
[Whitespace]" " (2..3),
|
||||
[ConditionalIf]"if" (3..5),
|
||||
[Whitespace]" " (5..6),
|
||||
[Ident]"test" (6..10),
|
||||
[Whitespace]" " (10..11),
|
||||
[RightDelim]"}}" (11..13),
|
||||
[Whitespace]"\n " (13..18),
|
||||
[Content]"Hello World!" (18..30),
|
||||
[Whitespace]"\n" (30..31),
|
||||
[LeftDelim]"{{" (31..33),
|
||||
[Whitespace]" " (33..34),
|
||||
[End]"end" (34..37),
|
||||
[Whitespace]" " (37..38),
|
||||
[RightDelim]"}}" (38..40),
|
||||
[Whitespace]"\n\n" (40..42),
|
||||
[LeftDelim]"{{" (42..44),
|
||||
[WantsOutput]"=" (44..45),
|
||||
[Whitespace]" " (45..46),
|
||||
[Ident]"stuff" (46..51),
|
||||
[Whitespace]" " (51..52),
|
||||
[RightDelim]"}}" (52..54),
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue