summaryrefslogtreecommitdiff
path: root/test/it_xml.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_xml.t')
-rwxr-xr-xtest/it_xml.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/it_xml.t b/test/it_xml.t
index 88a5cf4..0a723e1 100755
--- a/test/it_xml.t
+++ b/test/it_xml.t
@@ -11,7 +11,7 @@ function _match($xmldata, $expected, $name, $prefix = "", $p = [])
$xml = new $classname($xmldata, $p);
$mod_utf8 = $p['encoding'] != "iso-8859-1" ? "u" : "";
- is(
+ is_(
preg_replace('/[#\s]+/' . $mod_utf8, " ", print_r($xml->$varname, true)),
$expected,
"$name (string)"
@@ -24,7 +24,7 @@ function _match($xmldata, $expected, $name, $prefix = "", $p = [])
$xml = new $classname($tmpfile, $p);
fclose($tmpfile);
- is(
+ is_(
preg_replace('/[#\s]+/' . $mod_utf8, " ", print_r($xml->$varname, true)),
$expected,
"$name (file)"