1. Shlomi Fish
  2. perl-XML-LibXML

Commits

Shlomi Fish  committed ee41065

Refactoring.

  • Participants
  • Parent commits e0e47fc
  • Branches default

Comments (0)

Files changed (1)

File t/14sax.t

View file
     $SAXTester_end_document_counter->test(1, 'end_document called once.');
 }
 
-my $sax = SAXNSTester->new;
-# TEST
-ok($sax, ' TODO : Add test name');
+{
+    my $sax = SAXNSTester->new;
+    # TEST
+    ok($sax, ' TODO : Add test name');
 
-$parser->set_handler($sax);
+    $parser->set_handler($sax);
 
-$parser->parse_uri("example/ns.xml");
+    $parser->parse_uri("example/ns.xml");
+}
 
 ########### Namespace test ( empty namespaces ) ########