summaryrefslogtreecommitdiff
path: root/t/03-html.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03-html.t')
-rw-r--r--t/03-html.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/03-html.t b/t/03-html.t
index 2640a5e..8504c90 100644
--- a/t/03-html.t
+++ b/t/03-html.t
@@ -25,4 +25,7 @@ my $tree=tree {
};
};
-diag $tree->as_HTML();
+is($tree->as_HTML(),
+ qq{<html><head><title>Page title</title></head><body><p>Page para</body></html>\n},
+ 'HTML tree'
+);