From ff72c376c2d08fc20b25d6df0f7062001d86804a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 6 Nov 2005 10:53:39 +0000 Subject: [PATCH] - MFB Fix tests 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.50.1