-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve second-pass result checking by also directly checking the ori…
…ginal file against the final expected result
- Loading branch information
1 parent
4d54749
commit 9de2be4
Showing
7 changed files
with
128 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
{% set foo = ['1','2','3'] %} | ||
{% set one = '1' %} | ||
{% set two = '2' %} | ||
{% set three = '3' %} | ||
{%- for item in deferred %} | ||
{% cycle foo %} | ||
{% cycle foo[0],foo[1],foo[2] %} | ||
{% cycle one,two,three %} | ||
{%- endfor -%} |
2 changes: 0 additions & 2 deletions
2
src/test/resources/eager/reconstructs-map-node.expected.expected.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
First key is foo. | ||
|
||
foo ff | ||
bar bb | ||
['resolved', 'resolved'] | ||
|
8 changes: 3 additions & 5 deletions
8
src/test/resources/eager/reconstructs-map-node.expected.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
{% if deferred %} | ||
{% set foo = [fn:map_entry('foo', 'ff'), fn:map_entry('bar', 'bb')] %} | ||
{% endif %} | ||
First key is {{ foo[0].key }}. | ||
{% set my_list = [] %}{% for __ignored__ in [0] %}{% do my_list.append(deferred) %} | ||
foo ff{% do my_list.append(deferred) %} | ||
bar bb{% endfor %} | ||
{% set my_list = [] %}{% for key, val in foo %}{% do my_list.append(deferred) %} | ||
{{ key ~ ' ' ~ val }}{% endfor %} | ||
{{ my_list }} | ||
|
||
{% set my_list = [] %}{% for __ignored__ in [0] %}{% do my_list.append(deferred) %} | ||
foo{% do my_list.append(deferred) %} | ||
bar{% endfor %} | ||
{{ my_list }} | ||
{{ my_list }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters