Commits

Anonymous committed 0c4979b

Modified Files:
t/05dombasic.t
+ yet another constructor test (with default values)

  • Participants
  • Parent commits e44a01b

Comments (0)

Files changed (1)

 # `make test'. After `make install' it should work as `perl test.pl'
 
 use Test;
-BEGIN { plan tests=>13; }
+BEGIN { plan tests=>14; }
 END {ok(0) unless $loaded;}
 use XML::LibXML;
 $loaded = 1;
 my $dom = XML::LibXML::Document->createDocument( $vers, $enc );
 ok($dom);
 
+# this feature is for dirty people ;)
+my $dom2 = XML::LibXML::Document->createDocument( );
+ok( $dom2 );
+
 my $xs = "<?xml version=\"$vers\" encoding=\"$enc\"?>\n";
 my $str = $dom->toString;
 ok( $str eq $xs );