From c388f97ac9d9e621eb11a5ce0cc6e9514c0511c1 Mon Sep 17 00:00:00 2001
From: Marcus Boerger
Date: Sun, 6 Nov 2005 10:51:29 +0000
Subject: [PATCH] - Fix test expectations
---
ext/dom/tests/dom005.phpt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
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
-
+
--
2.40.0