Permalink
Browse files

a few more Mojo::DOM tests

  • Loading branch information...
1 parent c4f4cad commit 1e45509e4a0fe8870e4d20bd9499f2af3b1b30a0 @kraih committed Jan 10, 2015
Showing with 3 additions and 1 deletion.
  1. +3 −1 t/mojo/dom.t
View
@@ -4,7 +4,9 @@ use Test::More;
use Mojo::DOM;
# Empty
-is(Mojo::DOM->new, '', 'right result');
+is(Mojo::DOM->new, '', 'right result');
+is(Mojo::DOM->new(''), '', 'right result');
+is(Mojo::DOM->new->parse(''), '', 'right result');
# Simple (basics)
my $dom = Mojo::DOM->new(

0 comments on commit 1e45509

Please sign in to comment.