From: Marcus Boerger
Date: Sun, 6 Nov 2005 10:53:39 +0000 (+0000)
Subject: - MFB Fix tests expectations
X-Git-Tag: RELEASE_2_0_1~54
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff72c376c2d08fc20b25d6df0f7062001d86804a;p=php
- MFB Fix tests 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
-
+