summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-08-01 01:00:57 (GMT)
committerStanislav Malyshev <stas@php.net>2011-08-01 01:00:57 (GMT)
commit3b7cdd02279e8e57c2f39e7f16afb7c2924ed204 (patch)
tree96e083fb3acbfc0d3a0bdfbf5300d6fbe0e1b32c /ext/dom
parent5b5c393f82f7d140373e2d13507c83a35728d3a9 (diff)
downloadphp-3b7cdd02279e8e57c2f39e7f16afb7c2924ed204.tar.gz
fix failing tests
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/tests/DOMDocument_loadHTML_error1.phpt2
-rw-r--r--ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt6
2 files changed, 7 insertions, 1 deletions
diff --git a/ext/dom/tests/DOMDocument_loadHTML_error1.phpt b/ext/dom/tests/DOMDocument_loadHTML_error1.phpt
index c7b5e61..de8d349 100644
--- a/ext/dom/tests/DOMDocument_loadHTML_error1.phpt
+++ b/ext/dom/tests/DOMDocument_loadHTML_error1.phpt
@@ -12,4 +12,4 @@ $doc = new DOMDocument();
$doc->loadHTML();
?>
--EXPECTF--
-Warning: DOMDocument::loadHTML() expects exactly 1 parameter, 0 given in %s on line %d
+Warning: DOMDocument::loadHTML() expects at least 1 parameter, 0 given in %s on line %d
diff --git a/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt b/ext/dom/tests/DOMDocument_relaxNGValidate_error2.phpt
index 8574921..7c5f890 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)