Skip to content

Commit

Permalink
more tests for invalid tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 21, 2013
1 parent 8f17208 commit b3fcefa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/mojo/dom.t
Expand Up @@ -1666,11 +1666,11 @@ $dom = Mojo::DOM->new->parse(<<'EOF');
</div>
</mt:If>
</div>
<b>>la<>la<>la<</b>
<b>>la<>la<<>>la<</b>
</body>
</html>
EOF
is $dom->at('#screw-up > b')->text, '>la<>la<>la<', 'right text';
is $dom->at('#screw-up > b')->text, '>la<>la<<>>la<', 'right text';
is $dom->at('#screw-up .ewww > a > img')->attrs('src'), '/test.png',
'right attribute';
is $dom->find('#screw-up .ewww > a > img')->[1]->attrs('src'), '/test2.png',
Expand Down

0 comments on commit b3fcefa

Please sign in to comment.