Commits

Anonymous committed ed4bfd8

Modified Files:
t/13dtd.t
+ forgot to commit the fixed version ...

  • Participants
  • Parent commits 1c61ba3

Comments (0)

Files changed (1)

 use Test;
-BEGIN { plan tests => 16 }
+BEGIN { plan tests => 17 }
 use XML::LibXML;
 ok(1);
 
     my $parser = XML::LibXML->new();
     ok($parser->validation(1));
     # this one is OK as it's well formed (no DTD)
-    $parser->parse_file('example/article_bad.xml');
+
+    eval{
+        $parser->parse_file('example/article_bad.xml');
+    };
+    ok($@);
     eval {
         $parser->parse_file('example/article_internal_bad.xml');
     };