]> iEval git - html-element-library.git/commitdiff
apply fixes based on M. David Moussa Leo Keita's feedback
authorTerrence Brannon <metaperl@gmail.com>
Tue, 10 Jan 2012 19:54:25 +0000 (14:54 -0500)
committerTerrence Brannon <metaperl@gmail.com>
Tue, 10 Jan 2012 19:54:25 +0000 (14:54 -0500)
t/crunch.t
t/prune.t

index 275a02163f9f5c0896b87d84f3c3ad9fbb043c75..00f79472db25f0f669349f863b926f3cb8458425 100644 (file)
@@ -8,6 +8,7 @@ use Test::More;
 use TestUtils;
 use HTML::TreeBuilder;
 use HTML::Element::Library;
+use Test::XML;
 
 sub tage {
 
@@ -20,7 +21,7 @@ sub tage {
 
   my $generated_html = ptree($tree, "$root.gen");
 
-  is ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for crunch");
+  is_xml ($generated_html, File::Slurp::read_file("$root.exp"), "HTML for crunch");
 }
 
 
index 5086257bec411a9171cad1211a44f0ce74776268..af343dbde03d96b9285610f6345d6c0c166897cd 100644 (file)
--- a/t/prune.t
+++ b/t/prune.t
@@ -9,7 +9,7 @@ use Test::XML;
 
 BEGIN {
     use_ok('HTML::TreeBuilder');
-    use_ok('HTML::Element::Prune');
+    use_ok('HTML::Element::Library');
 }
 
 
This page took 0.028145 seconds and 4 git commands to generate.