Skip to content

Commit

Permalink
test(meta_generator): result is now an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Aug 11, 2019
1 parent c8d3b77 commit b5c3866
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/scripts/filters/meta_generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ describe('Meta Generator', () => {

// meta generator should not be prepended if <head> tag is empty
// see https://github.com/hexojs/hexo/pull/3315
const resultType = typeof result;
resultType.should.eql('undefined');
result.should.eql('');
});

it('disable meta_generator', () => {
Expand Down

0 comments on commit b5c3866

Please sign in to comment.