From: Marcus Boerger
Date: Sun, 6 Nov 2005 10:51:29 +0000 (+0000)
Subject: - Fix test expectations
X-Git-Tag: php-5.1.0RC5~49
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c388f97ac9d9e621eb11a5ce0cc6e9514c0511c1;p=php
- Fix test expectations
---
diff --git a/ext/dom/tests/dom005.phpt b/ext/dom/tests/dom005.phpt
index c0f4bb714d..249869eff2 100644
--- a/ext/dom/tests/dom005.phpt
+++ b/ext/dom/tests/dom005.phpt
@@ -14,23 +14,23 @@ print "--- save as HTML\n";
print adjustDoctype($dom->saveHTML());
function adjustDoctype($xml) {
- return str_replace("DOCTYPE HTML","DOCTYPE html",$xml);
+ return str_replace(array("DOCTYPE HTML",'','
'),array("DOCTYPE html",'',''),$xml);
}
--EXPECT--
--- save as XML
-Hello world
+
Hello world
This is a not well-formed
html files with undeclared entities
-
+
--- save as HTML
Hello world
-
+
This is a not well-formed
html files with undeclared entities
-
+