Setup a testing bench
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
4470af3926
commit
d3e6410ec0
16 changed files with 336 additions and 4 deletions
28
tests/cases/instructions@interpolation.snap
Normal file
28
tests/cases/instructions@interpolation.snap
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
source: tests/file_tests.rs
|
||||
expression: emit
|
||||
input_file: tests/cases/interpolation.temple
|
||||
---
|
||||
[
|
||||
AppendContent {
|
||||
content: "Hello! I'm",
|
||||
},
|
||||
AppendContent {
|
||||
content: " ",
|
||||
},
|
||||
LoadFromContextToSlot {
|
||||
name: "name",
|
||||
slot: VariableSlot {
|
||||
index: 0,
|
||||
},
|
||||
},
|
||||
EmitFromSlot {
|
||||
slot: VariableSlot {
|
||||
index: 0,
|
||||
},
|
||||
},
|
||||
AppendContent {
|
||||
content: "
|
||||
",
|
||||
},
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue