From: Oliver Charles Date: Wed, 24 Mar 2010 23:38:51 +0000 (+0000) Subject: Failing test for doctypes. X-Git-Tag: release_0.009004~67 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8b08aee02561471ecab4cb5bfce2d7565b491d3f;hp=23ba49c7b5c3c7ded4c94547c3a2952a0319a81c;p=catagits%2FHTML-Zoom.git Failing test for doctypes. Failing test by purge, I have reverted the changes to synopsis.t though. --- diff --git a/t/doctype.t b/t/doctype.t new file mode 100644 index 0000000..b0e5e1b --- /dev/null +++ b/t/doctype.t @@ -0,0 +1,17 @@ +use strict; +use warnings FATAL => 'all'; +use Test::More qw(no_plan); + +use HTML::Zoom; +my $template = < + +HTML + +my $output = HTML::Zoom + ->from_html($template)->to_html; +my $expect = < + +HTML +is($output, $expect, 'Synopsis code works ok');;