summaryrefslogtreecommitdiff
path: root/ext/xsl/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xsl/tests')
-rw-r--r--ext/xsl/tests/bug26384.phpt1
-rw-r--r--ext/xsl/tests/bug54446.phpt3
-rw-r--r--ext/xsl/tests/bug54446_with_ini.phpt1
-rw-r--r--ext/xsl/tests/xslt001.phpt2
-rw-r--r--ext/xsl/tests/xslt002.phpt2
-rw-r--r--ext/xsl/tests/xslt003.phpt2
-rw-r--r--ext/xsl/tests/xslt004.phpt2
-rw-r--r--ext/xsl/tests/xslt005.phpt2
-rw-r--r--ext/xsl/tests/xslt006.phpt2
-rw-r--r--ext/xsl/tests/xslt007.phpt2
-rw-r--r--ext/xsl/tests/xslt008-mb.phpt2
-rw-r--r--ext/xsl/tests/xslt008.phpt2
-rw-r--r--ext/xsl/tests/xslt009.phpt2
-rw-r--r--ext/xsl/tests/xslt010.phpt1
-rw-r--r--ext/xsl/tests/xslt010_gt10129.phpt1
-rw-r--r--ext/xsl/tests/xslt011.phpt2
-rw-r--r--ext/xsl/tests/xslt012.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt1
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToDoc.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToDoc_nullparam.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToURI.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToURI_nullparam.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToXML.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_001.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_003.phpt2
-rw-r--r--ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_004.phpt2
36 files changed, 18 insertions, 50 deletions
diff --git a/ext/xsl/tests/bug26384.phpt b/ext/xsl/tests/bug26384.phpt
index e415ec9b5a..b6d2940ae6 100644
--- a/ext/xsl/tests/bug26384.phpt
+++ b/ext/xsl/tests/bug26384.phpt
@@ -27,7 +27,6 @@ print $proc->transformToXml($dom);
//this segfaulted before
print $dom->documentElement->firstChild->nextSibling->nodeName;
-
--EXPECT--
HERE
ROW
diff --git a/ext/xsl/tests/bug54446.phpt b/ext/xsl/tests/bug54446.phpt
index 94197faa18..86b9e73967 100644
--- a/ext/xsl/tests/bug54446.phpt
+++ b/ext/xsl/tests/bug54446.phpt
@@ -69,8 +69,6 @@ if (file_exists($outputfile)) {
} else {
print "OK, no file created\n";
}
-
-
--EXPECTF--
Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %s element output in %s on line %d
@@ -92,4 +90,3 @@ Warning: XSLTProcessor::transformToXml(): xsltDocumentElem: write rights for %s/
OK, no file created
--CREDITS--
Christian Stocker, chregu@php.net
-
diff --git a/ext/xsl/tests/bug54446_with_ini.phpt b/ext/xsl/tests/bug54446_with_ini.phpt
index c21292d4c1..9f1576e5bb 100644
--- a/ext/xsl/tests/bug54446_with_ini.phpt
+++ b/ext/xsl/tests/bug54446_with_ini.phpt
@@ -92,4 +92,3 @@ Warning: XSLTProcessor::transformToXml(): xsltDocumentElem: write rights for %s/
OK, no file created
--CREDITS--
Christian Stocker, chregu@php.net
-
diff --git a/ext/xsl/tests/xslt001.phpt b/ext/xsl/tests/xslt001.phpt
index ec5538a648..70d4446928 100644
--- a/ext/xsl/tests/xslt001.phpt
+++ b/ext/xsl/tests/xslt001.phpt
@@ -10,8 +10,6 @@ $proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXml($dom);
print "\n";
-
-
--EXPECT--
Test 1: Transform To XML String
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt002.phpt b/ext/xsl/tests/xslt002.phpt
index 5ce2eb9d57..deb86aa215 100644
--- a/ext/xsl/tests/xslt002.phpt
+++ b/ext/xsl/tests/xslt002.phpt
@@ -18,8 +18,6 @@ $proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXml($dom);
print "\n";
-
-
--EXPECT--
Test 2: Transform To HTML String
<html><body>bar
diff --git a/ext/xsl/tests/xslt003.phpt b/ext/xsl/tests/xslt003.phpt
index 60a8427d16..992e5c7cf0 100644
--- a/ext/xsl/tests/xslt003.phpt
+++ b/ext/xsl/tests/xslt003.phpt
@@ -11,8 +11,6 @@ $proc->setParameter( "", "foo","hello world");
print "\n";
print $proc->transformToXml($dom);
print "\n";
-
-
--EXPECT--
Test 3: Using Parameters
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt004.phpt b/ext/xsl/tests/xslt004.phpt
index e5432323c4..e2076032a9 100644
--- a/ext/xsl/tests/xslt004.phpt
+++ b/ext/xsl/tests/xslt004.phpt
@@ -17,8 +17,6 @@ $proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXml($dom);
print "\n";
-
-
--EXPECT--
Test 4: Checking UTF8 Output
<?xml version="1.0" encoding="utf-8"?>
diff --git a/ext/xsl/tests/xslt005.phpt b/ext/xsl/tests/xslt005.phpt
index 5492bf812b..49027e1b16 100644
--- a/ext/xsl/tests/xslt005.phpt
+++ b/ext/xsl/tests/xslt005.phpt
@@ -17,8 +17,6 @@ $proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXml($dom);
print "\n";
-
-
--EXPECT--
Test 5: Checking Indent
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt006.phpt b/ext/xsl/tests/xslt006.phpt
index 2c0cfedb4e..60ca1812e3 100644
--- a/ext/xsl/tests/xslt006.phpt
+++ b/ext/xsl/tests/xslt006.phpt
@@ -11,8 +11,6 @@ print "\n";
$doc = $proc->transformToDoc($dom);
print $doc->saveXML();
print "\n";
-
-
--EXPECT--
Test 6: Transform To Doc
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt007.phpt b/ext/xsl/tests/xslt007.phpt
index 486560b85b..bb4d0ba657 100644
--- a/ext/xsl/tests/xslt007.phpt
+++ b/ext/xsl/tests/xslt007.phpt
@@ -12,8 +12,6 @@ $doc = $proc->transformToUri($dom, "file://".dirname(__FILE__)."/out.xml");
print file_get_contents(dirname(__FILE__)."/out.xml");
unlink(dirname(__FILE__)."/out.xml");
print "\n";
-
-
--EXPECT--
Test 7: Transform To Uri
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt008-mb.phpt b/ext/xsl/tests/xslt008-mb.phpt
index e13b576588..52940cecd3 100644
--- a/ext/xsl/tests/xslt008-mb.phpt
+++ b/ext/xsl/tests/xslt008-mb.phpt
@@ -19,8 +19,6 @@ chdir(dirname(__FILE__));
$proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXML($dom);
-
-
--EXPECT--
Test 8: Stream Wrapper Includes
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt008.phpt b/ext/xsl/tests/xslt008.phpt
index 438a566c8b..4c72bf81c3 100644
--- a/ext/xsl/tests/xslt008.phpt
+++ b/ext/xsl/tests/xslt008.phpt
@@ -19,8 +19,6 @@ chdir(dirname(__FILE__));
$proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXML($dom);
-
-
--EXPECT--
Test 8: Stream Wrapper Includes
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt009.phpt b/ext/xsl/tests/xslt009.phpt
index 9d1110ddeb..b4e8390985 100644
--- a/ext/xsl/tests/xslt009.phpt
+++ b/ext/xsl/tests/xslt009.phpt
@@ -20,8 +20,6 @@ if(!$xsl) {
$proc->importStylesheet($xsl);
print "\n";
print $proc->transformToXML($dom);
-
-
--EXPECT--
Test 9: Stream Wrapper XPath-Document()
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xslt010.phpt b/ext/xsl/tests/xslt010.phpt
index a805e9fbaa..aeedabc513 100644
--- a/ext/xsl/tests/xslt010.phpt
+++ b/ext/xsl/tests/xslt010.phpt
@@ -204,4 +204,3 @@ Test 10: EXSLT Support
hour-in-day : NaN
minute-in-hour : NaN
second-in-minute : NaN
-
diff --git a/ext/xsl/tests/xslt010_gt10129.phpt b/ext/xsl/tests/xslt010_gt10129.phpt
index a04f289984..999ec807a3 100644
--- a/ext/xsl/tests/xslt010_gt10129.phpt
+++ b/ext/xsl/tests/xslt010_gt10129.phpt
@@ -203,4 +203,3 @@ Test 10: EXSLT Support
hour-in-day : NaN
minute-in-hour : NaN
second-in-minute : NaN
-
diff --git a/ext/xsl/tests/xslt011.phpt b/ext/xsl/tests/xslt011.phpt
index 2ca4e91fe9..92777b8a56 100644
--- a/ext/xsl/tests/xslt011.phpt
+++ b/ext/xsl/tests/xslt011.phpt
@@ -45,7 +45,6 @@ $dom = new domDocument();
return $id;
}
}
-
--EXPECTF--
Test 11: php:function Support
@@ -56,4 +55,3 @@ foobar -
this is from an external DomDocument
from the Input Document
static
-
diff --git a/ext/xsl/tests/xslt012.phpt b/ext/xsl/tests/xslt012.phpt
index 9fd3fbd1ef..6cb3f5ec71 100644
--- a/ext/xsl/tests/xslt012.phpt
+++ b/ext/xsl/tests/xslt012.phpt
@@ -39,8 +39,6 @@ $proc->setParameter( "", $parameters);
print "\n";
print $proc->transformToXml($dom);
print "\n";
-
-
--EXPECT--
Test 12: Using Associative Array of Parameters
<?xml version="1.0" encoding="iso-8859-1"?>
diff --git a/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt b/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt
index 2267129307..56b2c84d7f 100644
--- a/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt
+++ b/ext/xsl/tests/xsltprocessor_hasExsltSupport.phpt
@@ -10,4 +10,4 @@ $proc = new XSLTProcessor();
var_dump($proc->hasExsltSupport());
?>
--EXPECTF--
-bool(true) \ No newline at end of file
+bool(true)
diff --git a/ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt b/ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt
index d8b8fa846d..ae90472b72 100644
--- a/ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt
+++ b/ext/xsl/tests/xsltprocessor_hasExsltSupport_not_available_extension.phpt
@@ -10,4 +10,4 @@ $proc = new XSLTProcessor();
var_dump($proc->hasExsltSupport());
?>
--EXPECTF--
-Fatal error: Class 'XSLTProcessor' not found in %s on line %i \ No newline at end of file
+Fatal error: Class 'XSLTProcessor' not found in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt
index 107157fa28..8606114db7 100644
--- a/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt
+++ b/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt
@@ -10,4 +10,4 @@ $proc = new XSLTProcessor();
var_dump($proc->hasExsltSupport('stringValue'));
?>
--EXPECTF--
-bool(true) \ No newline at end of file
+bool(true)
diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt
index 119a95de1a..b1bbdb5b21 100644
--- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt
+++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-allfuncs.phpt
@@ -21,7 +21,6 @@ var_dump($proc->transformToXml($dom));
//var_dump($proc->registerPHPFunctions(array()));
//var_dump($proc->transformToXml($dom));
-
--EXPECTF--
NULL
string(18) "This Is An Example"
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc.phpt
index ff4be47e3f..8670511f35 100644
--- a/ext/xsl/tests/xsltprocessor_transformToDoc.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToDoc.phpt
@@ -48,4 +48,4 @@ $proc->importStyleSheet($xsldoc);
var_dump($proc->transformToDoc($xmldoc)->firstChild->tagName);
?>
--EXPECT--
-string(4) "html" \ No newline at end of file
+string(4) "html"
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_nullparam.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_nullparam.phpt
index 735fd72958..0ce54bc191 100644
--- a/ext/xsl/tests/xsltprocessor_transformToDoc_nullparam.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToDoc_nullparam.phpt
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
echo $proc->transformToDoc(null);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, null given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, null given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt
index 1460de39a4..26a2986480 100644
--- a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt
@@ -53,4 +53,4 @@ $wrong_parameter = array();
echo $proc->transformToDoc($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, array given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, array given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt
index 19fc3e44ef..02c7ad2bf8 100644
--- a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt
@@ -53,4 +53,4 @@ $wrong_parameter = 'stringValue';
echo $proc->transformToDoc($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, string given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, string given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt
index 8df84b7cbe..357d1514db 100644
--- a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt
@@ -53,4 +53,4 @@ $wrong_parameter = true;
echo $proc->transformToDoc($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, boolean given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, boolean given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI.phpt b/ext/xsl/tests/xsltprocessor_transformToURI.phpt
index 27ed4e2975..4084d1f354 100644
--- a/ext/xsl/tests/xsltprocessor_transformToURI.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToURI.phpt
@@ -50,4 +50,4 @@ $proc->importStyleSheet($xsldoc);
var_dump($proc->transformToURI($xsldoc, 'php://output'));
?>
--EXPECTF--
-int(56) \ No newline at end of file
+int(56)
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_nullparam.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_nullparam.phpt
index 69afeaf7be..9a83da1e8a 100644
--- a/ext/xsl/tests/xsltprocessor_transformToURI_nullparam.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToURI_nullparam.phpt
@@ -51,4 +51,4 @@ $proc->importStyleSheet($xsldoc);
echo $proc->transformToURI(null, null);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, null given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, null given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt
index 64b98ce7e5..56f11db499 100644
--- a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt
@@ -54,4 +54,4 @@ $uri = 'php://output';
echo $proc->transformToURI($wrong_parameter, $uri);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, array given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, array given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt
index 7f497ba2b8..dd196a9730 100644
--- a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt
@@ -54,4 +54,4 @@ $uri = 'php://output';
echo $proc->transformToURI($wrong_parameter, $uri);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, string given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, string given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt
index c7742422fd..196cee3689 100644
--- a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt
@@ -54,4 +54,4 @@ $uri = 'php://output';
echo $proc->transformToURI($wrong_parameter, $uri);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, boolean given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, boolean given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt
index c1de1d93c3..c6f1c4892e 100644
--- a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt
@@ -53,4 +53,4 @@ $uri = 'php://output';
echo $proc->transformToURI($xsldoc, $uri, 'stringValue');
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToUri() expects exactly 2 parameters, 3 given in %s on line %i \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects exactly 2 parameters, 3 given in %s on line %i
diff --git a/ext/xsl/tests/xsltprocessor_transformToXML.phpt b/ext/xsl/tests/xsltprocessor_transformToXML.phpt
index c70200d102..dac8c9ac1a 100644
--- a/ext/xsl/tests/xsltprocessor_transformToXML.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToXML.phpt
@@ -58,4 +58,4 @@ string(135) "<html xmlns:php="http://php.net/xsl"><body>
<tr><td>Joe</td></tr>
</table>
</body></html>
-" \ No newline at end of file
+"
diff --git a/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_001.phpt
index 32e1a8095b..4bd598a3c0 100644
--- a/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_001.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_001.phpt
@@ -52,4 +52,4 @@ $wrong_parameter = array();
echo $proc->transformToXML($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, array given in %s on line %d \ No newline at end of file
+Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, array given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_003.phpt b/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_003.phpt
index 05cb7ebd9e..599fa10068 100644
--- a/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_003.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_003.phpt
@@ -52,4 +52,4 @@ $wrong_parameter = 'stringValue';
echo $proc->transformToXML($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, string given in %s on line %d \ No newline at end of file
+Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, string given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_004.phpt b/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_004.phpt
index 87db6e14d6..d4919ca175 100644
--- a/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_004.phpt
+++ b/ext/xsl/tests/xsltprocessor_transformToXML_wrongparam_004.phpt
@@ -52,4 +52,4 @@ $wrong_parameter = true;
echo $proc->transformToXML($wrong_parameter);
?>
--EXPECTF--
-Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, boolean given in %s on line %d \ No newline at end of file
+Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, boolean given in %s on line %d