summaryrefslogtreecommitdiff
path: root/t/03-html.t
diff options
context:
space:
mode:
authorGianni Ceccarelli <dakkar@dechirico.(none)>2009-03-27 13:00:46 +0100
committerGianni Ceccarelli <dakkar@dechirico.(none)>2009-03-27 13:00:46 +0100
commit26248672c6b3ee8f8b10dff5f2b8302e008f46c1 (patch)
tree0035267f3e4b3ab4aa64c22ca60d2018cc6b6e1d /t/03-html.t
parentlibxml, no namespace support (diff)
downloadTree-Template-Declare-26248672c6b3ee8f8b10dff5f2b8302e008f46c1.tar.gz
Tree-Template-Declare-26248672c6b3ee8f8b10dff5f2b8302e008f46c1.tar.bz2
Tree-Template-Declare-26248672c6b3ee8f8b10dff5f2b8302e008f46c1.zip
LibXML with namespace support, and fixed tests
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'
+);