]> granicus.if.org Git - php/commitdiff
Revert "Fix test, this is kinda ugly, but at least for me on Windows there seems...
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 20 Oct 2016 14:02:37 +0000 (16:02 +0200)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 20 Oct 2016 14:02:37 +0000 (16:02 +0200)
This reverts commit aeeaedeeb7bdf7df3f0885a62e8d317762e88bf8.

This seems to make Travis unhappy (shocker), so revert for now until we find a better fix

ext/dom/tests/dom005.phpt

index 3766df08c01767d8a7e4cdf674098c10afbc3ed1..715aec4024cc1ac979964289d3519f1953350d98 100644 (file)
@@ -17,13 +17,13 @@ function adjustDoctype($xml) {
     return str_replace(array("DOCTYPE HTML",'<p>','</p>'),array("DOCTYPE html",'',''),$xml);
 }
 
---EXPECTF--
+--EXPECT--
 --- save as XML
 <?xml version="1.0" standalone="yes"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
-<html><head><title>Hello world</title></head><body>%s
-This is a not well-formed<br/>%s
-html files with undeclared entities&#xA0;%s
+<html><head><title>Hello world</title></head><body>
+This is a not well-formed<br/>
+html files with undeclared entities&#xA0;
 </body></html>
 --- save as HTML
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">