1. Daniel Frett
  2. perl-XML-LibXML

Commits

Shlomi Fish  committed 7a14a3a

Extract _check_element_node() from another place.

  • Participants
  • Parent commits 38893b0
  • Branches default

Comments (0)

Files changed (1)

File t/03doc.t

View file
         $encdoc->setEncoding( "iso-8859-1" );
         {
             my $node = $encdoc->createElement( "foo" );
-            # TEST
-            ok($node, ' TODO : Add test name');
-            # TEST
-            is($node->nodeType, XML_ELEMENT_NODE, ' TODO : Add test name' );
-            # TEST
-            is($node->nodeName, "foo", ' TODO : Add test name' );
+
+            # TEST*$_check_element_node
+            _check_element_node($node, 'foo', 'Encodc Element creation');
         }
 
         print "# SAX style document with encoding\n";