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_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
35 files changed, 17 insertions, 49 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 dc027fdebd..2335319009 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 4de826dce9..92a71cad09 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 74cd38951e..ef3cae6901 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());
?>
--EXPECT--
-bool(true) \ No newline at end of file
+bool(true)
diff --git a/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_hasExsltSupport_wrongparam_001.phpt
index d7f82a18b4..bdbdd5da58 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'));
?>
--EXPECT--
-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 af9d633d1d..f61b7abe89 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));
-
--EXPECT--
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 f56cfa8158..6f7980d013 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, null given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_001.phpt
index 3591f02602..7f6ed55678 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, array given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_003.phpt
index a3aca78bd4..2c4e56713b 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, string given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt b/ext/xsl/tests/xsltprocessor_transformToDoc_wrongparam_004.phpt
index 42aaf95878..bfcb9033a6 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, bool given in %s on line %d \ No newline at end of file
+Warning: XSLTProcessor::transformToDoc() expects parameter 1 to be object, bool given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI.phpt b/ext/xsl/tests/xsltprocessor_transformToURI.phpt
index f2fe9bdb57..bfc80cb473 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'));
?>
--EXPECT--
-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 891e6ca9f3..cfbdb0d983 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, null given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_001.phpt
index 25e3a27ce7..edae589907 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, array given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_002.phpt
index 7bc2e057fa..df7d771663 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, string given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_003.phpt
index 07892d1171..971b2caa24 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, bool given in %s on line %d \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects parameter 1 to be object, bool given in %s on line %d
diff --git a/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt b/ext/xsl/tests/xsltprocessor_transformToURI_wrongparam_004.phpt
index e40dacb4b8..9c32511096 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 %d \ No newline at end of file
+Warning: XSLTProcessor::transformToUri() expects exactly 2 parameters, 3 given in %s on line %d
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 f8a5db63f7..5cefb9c2b2 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, bool given in %s on line %d \ No newline at end of file
+Warning: XSLTProcessor::transformToXml() expects parameter 1 to be object, bool given in %s on line %d