]> granicus.if.org Git - php/commitdiff
Fix test, this is kinda ugly, but at least for me on Windows there seems to be some...
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 20 Oct 2016 12:24:01 +0000 (14:24 +0200)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 20 Oct 2016 12:24:01 +0000 (14:24 +0200)
ext/dom/tests/dom005.phpt

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