Skip to content

Commit

Permalink
test(nunjucks): fix render from path failed on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jun 13, 2020
1 parent fd40acc commit fd71d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/renderers/nunjucks.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('nunjucks', () => {
it('render from path', () => {
r({ path: fixturePath }, {
name: 'world'
}).should.eql('Hello world!\n');
}).should.matches(/^Hello world!\s*$/);
});

it('compile from text', () => {
Expand Down

0 comments on commit fd71d31

Please sign in to comment.