Expanding the partial jump around tests.
This commit is contained in:
parent
f47b91f8e7
commit
50c03b4f0f
@ -1,3 +0,0 @@
|
||||
{#level1.level2}
|
||||
{>partialone /}
|
||||
{/level1.level2}
|
3
js/test_cases/partial_jump_around_one/main.dust
Normal file
3
js/test_cases/partial_jump_around_one/main.dust
Normal file
@ -0,0 +1,3 @@
|
||||
{#level1.level2}
|
||||
{>partialone v1="a" v2="a" v3="a" v4="a" v5="a"/}
|
||||
{/level1.level2}
|
@ -1,3 +1,3 @@
|
||||
{#level3.level4}
|
||||
{>partialtwo /}
|
||||
{>partialtwo/}
|
||||
{/level3.level4}
|
27
js/test_cases/partial_jump_around_two/input1.json
Normal file
27
js/test_cases/partial_jump_around_two/input1.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"level3": {
|
||||
"v3": "3",
|
||||
"v4": "3",
|
||||
"v5": "3",
|
||||
"level4": {
|
||||
"v4": "4",
|
||||
"v5": "4",
|
||||
"level5": {
|
||||
"v5": "5"
|
||||
}
|
||||
}
|
||||
},
|
||||
"level1": {
|
||||
"v1": "1",
|
||||
"v2": "1",
|
||||
"v3": "1",
|
||||
"v4": "1",
|
||||
"v5": "1",
|
||||
"level2": {
|
||||
"v2": "2",
|
||||
"v3": "2",
|
||||
"v4": "2",
|
||||
"v5": "2"
|
||||
}
|
||||
}
|
||||
}
|
3
js/test_cases/partial_jump_around_two/main.dust
Normal file
3
js/test_cases/partial_jump_around_two/main.dust
Normal file
@ -0,0 +1,3 @@
|
||||
{#level1.level2}
|
||||
{>partialone v1="a" v2="a" v3="a" v4="a" v5="a"/}
|
||||
{/level1.level2}
|
3
js/test_cases/partial_jump_around_two/partialone.dust
Normal file
3
js/test_cases/partial_jump_around_two/partialone.dust
Normal file
@ -0,0 +1,3 @@
|
||||
{#level3.level4}
|
||||
{>partialtwo v1="b" v2="b" v3="b" v4="b" v5="b" /}
|
||||
{/level3.level4}
|
7
js/test_cases/partial_jump_around_two/partialtwo.dust
Normal file
7
js/test_cases/partial_jump_around_two/partialtwo.dust
Normal file
@ -0,0 +1,7 @@
|
||||
{#level5}
|
||||
{v1}{~n}
|
||||
{v2}{~n}
|
||||
{v3}{~n}
|
||||
{v4}{~n}
|
||||
{v5}{~n}
|
||||
{/level5}
|
Loading…
Reference in New Issue
Block a user