add more tests
This commit is contained in:
parent
753a265846
commit
0be504abb4
5 changed files with 6 additions and 2 deletions
|
@ -7,8 +7,6 @@ import {
|
|||
Statement,
|
||||
Block,
|
||||
nonClosingStatements,
|
||||
Expression,
|
||||
IgnoreBlock,
|
||||
} from "./jinja";
|
||||
|
||||
const regex =
|
||||
|
|
0
test/cases/empty/expected.html
Normal file
0
test/cases/empty/expected.html
Normal file
0
test/cases/empty/input.html
Normal file
0
test/cases/empty/input.html
Normal file
1
test/cases/statement_broken_3/expected.html
Normal file
1
test/cases/statement_broken_3/expected.html
Normal file
|
@ -0,0 +1 @@
|
|||
Error('Closung statement "endif" doesn't match Opening Statement "for item in seq".')
|
5
test/cases/statement_broken_3/input.html
Normal file
5
test/cases/statement_broken_3/input.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<ul>
|
||||
{% for item in seq %}
|
||||
<li> {{ item }} </li>
|
||||
{% endif %}
|
||||
</ul>
|
Loading…
Reference in a new issue