summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/it_xml.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/it_xml.t b/tests/it_xml.t
index cfb95b2..7e555bd 100755
--- a/tests/it_xml.t
+++ b/tests/it_xml.t
@@ -40,6 +40,12 @@ match(
'Tags and attributes with name space and special characters'
);
+match(
+ '<foo>x &amp; y</foo>',
+ 'foo Object ( [val] => x & y ) ',
+ 'Character data with entities'
+);
+
# Test inheritance
class my_xml extends it_xml
{