summaryrefslogtreecommitdiff
path: root/t/05-mixed.t
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2013-01-27 20:48:56 +0000
committerdakkar <dakkar@thenautilus.net>2013-01-27 20:49:15 +0000
commit3e335ea77b4f33c7ec7bd9d4d7219523bec54d80 (patch)
treee0afd8976fd3929c14a8b695d2a9d9b77d978b92 /t/05-mixed.t
parentprep for version 0.4 (diff)
downloadTree-Template-Declare-3e335ea77b4f33c7ec7bd9d4d7219523bec54d80.tar.gz
Tree-Template-Declare-3e335ea77b4f33c7ec7bd9d4d7219523bec54d80.tar.bz2
Tree-Template-Declare-3e335ea77b4f33c7ec7bd9d4d7219523bec54d80.zip
more rebust tests, work with hash randomisationv0.5
Diffstat (limited to 't/05-mixed.t')
-rw-r--r--t/05-mixed.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/05-mixed.t b/t/05-mixed.t
index 1546c89..e7e66b1 100644
--- a/t/05-mixed.t
+++ b/t/05-mixed.t
@@ -31,8 +31,8 @@ my $xmltree= xtree {
};
};
-is($xmltree->serialize(0),
- qq{<?xml version="1.0"?>\n<stuff><test:elem1 xmlns:test="http://test/" test:buh="testing" id="1"><test:sub1/></test:elem1><elem2 id="2"/></stuff>\n},
+is($xmltree->toStringC14N(0),
+ qq{<stuff><test:elem1 xmlns:test="http://test/" id="1" test:buh="testing"><test:sub1></test:sub1></test:elem1><elem2 id="2"></elem2></stuff>},
'XML document'
);