Skip to content

Commit 2670536

Browse files
authored
test: change data to locals
1 parent 02a3e00 commit 2670536

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ describe('Simple test', function() {
4343
);
4444
});
4545

46-
it('include with data', function(done) {
46+
it('include with locals', function(done) {
4747
test(
48-
`<h1>index</h1><include src="./includes/3.html" data='{"text": 3}'></include>`,
48+
`<h1>index</h1><include src="./includes/3.html" locals='{"text": 3}'></include>`,
4949
`<h1>index</h1><h2>3</h2>`,
5050
{ root: './test/' },
5151
done

0 commit comments

Comments
 (0)