Skip to content

Commit

Permalink
add test: #51
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed Apr 15, 2021
1 parent 0fbcea8 commit c1528cc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/51.js
@@ -0,0 +1,11 @@
const { parse } = require('../dist');

describe.skip('issue 51', function () {
it('vue: > in attibute value', function () {
const html = '<template v-if="list.length>0"> <div> 123 </div> </template>';
const root = parse(html);
root.toString().should.eql(html);
const tpl = root.firstChild;
tpl.getAttribute('v-if').should.eql('list.length>0');
});
});

0 comments on commit c1528cc

Please sign in to comment.