From: Kalle Sommer Nielsen Date: Thu, 20 Oct 2016 12:24:01 +0000 (+0200) Subject: Fix test, this is kinda ugly, but at least for me on Windows there seems to be some... X-Git-Tag: php-7.2.0alpha1~1062 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeeaedeeb7bdf7df3f0885a62e8d317762e88bf8;p=php Fix test, this is kinda ugly, but at least for me on Windows there seems to be some messed up line endings --- diff --git a/ext/dom/tests/dom005.phpt b/ext/dom/tests/dom005.phpt index 715aec4024..3766df08c0 100644 --- a/ext/dom/tests/dom005.phpt +++ b/ext/dom/tests/dom005.phpt @@ -17,13 +17,13 @@ function adjustDoctype($xml) { return str_replace(array("DOCTYPE HTML",'

','

'),array("DOCTYPE html",'',''),$xml); } ---EXPECT-- +--EXPECTF-- --- save as XML -Hello world -This is a not well-formed
-html files with undeclared entities  +Hello world%s +This is a not well-formed
%s +html files with undeclared entities %s --- save as HTML