summaryrefslogtreecommitdiff
path: root/ext/dom/tests
diff options
context:
space:
mode:
authorShein Alexey <shein@php.net>2011-08-24 12:25:30 +0000
committerShein Alexey <shein@php.net>2011-08-24 12:25:30 +0000
commit6feb8cb74b73d7428c71cfed94e523280116c9e5 (patch)
tree56b05ed4c2528e6157f451c96eb427b7e286355a /ext/dom/tests
parent344136e8e9d2b3fea54ad7450723c524fe88ef19 (diff)
downloadphp-git-6feb8cb74b73d7428c71cfed94e523280116c9e5.tar.gz
Fixed failed test to take into account printed warnings like in 5.4 and trunk branches.
Diffstat (limited to 'ext/dom/tests')
-rw-r--r--ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt b/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
index 85749210b0..7c5f8901e7 100644
--- a/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
+++ b/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
@@ -23,3 +23,9 @@ var_dump($result);
?>
--EXPECTF--
+Warning: DOMDocument::relaxNGValidate(): I/O warning : failed to load external entity "%s/foo.rng" in %s on line %d
+
+Warning: DOMDocument::relaxNGValidate(): xmlRelaxNGParse: could not load %s/foo.rng in %s on line %d
+
+Warning: DOMDocument::relaxNGValidate(): Invalid RelaxNG in %s on line %d
+bool(false)