Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test invalid selector
  • Loading branch information
kraih committed Mar 20, 2015
1 parent 64c45c5 commit 02c6af0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/mojo/dom.t
Expand Up @@ -10,6 +10,9 @@ is(Mojo::DOM->new->parse(''), '', 'right result');
is(Mojo::DOM->new->at('p'), undef, 'no result');
is(Mojo::DOM->new->append_content(''), '', 'right result');

# Invalid selector
is(Mojo::DOM->new->at('...'), undef, 'no result');

# Simple (basics)
my $dom = Mojo::DOM->new(
'<div><div FOO="0" id="a">A</div><div id="b">B</div></div>');
Expand Down

0 comments on commit 02c6af0

Please sign in to comment.