diff options
Diffstat (limited to 't/03-html.t')
-rw-r--r-- | t/03-html.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/03-html.t b/t/03-html.t index 9cb196e..a4b6df9 100644 --- a/t/03-html.t +++ b/t/03-html.t @@ -32,7 +32,7 @@ my $tree=tree { }; }; -is($tree->as_HTML(), - qq{<html><head><title>Page title</title></head><body><p class="para" id="p1">Page para</body></html>\n}, +like($tree->as_HTML(), + qr{\A<html><head><title>Page title</title></head><body><p class="para" id="p1">Page para</body></html>\s*\z}, 'HTML tree' ); |