From: Terrence Brannon Date: Tue, 10 Jan 2012 19:54:25 +0000 (-0500) Subject: apply fixes based on M. David Moussa Leo Keita's feedback X-Git-Tag: 5.200_001~22 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=70669dc1488834d4f2b9347069170feb1ea74aaa;p=html-element-library.git apply fixes based on M. David Moussa Leo Keita's feedback --- diff --git a/t/crunch.t b/t/crunch.t index 275a021..00f7947 100644 --- a/t/crunch.t +++ b/t/crunch.t @@ -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"); } diff --git a/t/prune.t b/t/prune.t index 5086257..af343db 100644 --- 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'); }