add strictures commit (out of order)
[catagits/HTML-Zoom.git] / t / doctype.t
CommitLineData
1cf03540 1use strictures 1;
4b4f6408 2use Test::More qw(no_plan);
3
4use HTML::Zoom;
5my $template = <<HTML;
6<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
7<html></html>
8HTML
9
10my $output = HTML::Zoom
11 ->from_html($template)->to_html;
12my $expect = <<HTML;
13<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
14<html></html>
15HTML
16is($output, $expect, 'Synopsis code works ok');;