Skip to content

Commit 447bc44

Browse files
test: added proper tests for inner-locals feature
1 parent 9954976 commit 447bc44

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

test/expected/inner-locals.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<h1>index</h1><h2>3</h2>
1+
<h1>index</h1>
2+
3+
<h2>3</h2>

test/test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ test('Locals not json', t => {
3737
return process(t, 'locals-not-json')
3838
})
3939

40+
test('Inner locals', t => {
41+
return process(t, 'inner-locals')
42+
})
43+
4044
test('Shoult not cut children elements', t => {
4145
return process(t, 'not-clear-rest')
4246
})

0 commit comments

Comments
 (0)