Skip to content

Commit

Permalink
Merge 3cfc5c6 into 9327c7e
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Mar 4, 2020
2 parents 9327c7e + 3cfc5c6 commit 96f8aae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,16 @@ describe('PostHTML-Parser test', function() {
]
};

var html = '<!doctype html><html><?php echo \"Hello word\"; ?></html>';
var html = '<!doctype html><header><?php echo \"Hello word\"; ?></header><body>{{%njk test %}}</body>';
var tree = [
'<!doctype html>',
{
content: ['<?php echo \"Hello word\"; ?>'],
tag: 'html'
tag: 'header'
},
{
content: ['{{%njk test %}}'],
tag: 'body'
}
];

Expand Down

0 comments on commit 96f8aae

Please sign in to comment.