com php-src: Fix failing Zend/tests due to newlines: Zend/tests/flexible-heredoc-error7.phpt Zend/tests/flexible-nowdoc-error7.phpt
| From: | Peter Kokot | Date: | Mon, 15 Oct 2018 03:04:29 +0000 |
| Subject: | com php-src: Fix failing Zend/tests due to newlines: Zend/tests/flexible-heredoc-error7.phpt Zend/tests/flexible-nowdoc-error7.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103469@lists.php.net to get a copy of this message | ||
Commit: 6b8605d31f7f4b099a2a79d3d9bf0bcd607472af
Author: Peter Kokot <peterkokot@gmail.com> Mon, 15 Oct 2018 05:04:29 +0200
Parents: b746e6988743b46ccb0542d5d568eef0608ee296
Branches: PHP-7.3 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6b8605d31f7f4b099a2a79d3d9bf0bcd607472af
Log:
Fix failing Zend/tests due to newlines
Changed paths:
M Zend/tests/flexible-heredoc-error7.phpt
M Zend/tests/flexible-nowdoc-error7.phpt
Diff:
diff --git a/Zend/tests/flexible-heredoc-error7.phpt b/Zend/tests/flexible-heredoc-error7.phpt
index ef52490..ae9d1da 100644
--- a/Zend/tests/flexible-heredoc-error7.phpt
+++ b/Zend/tests/flexible-heredoc-error7.phpt
@@ -6,5 +6,6 @@ Note: the closing ?> has been deliberately elided.
<?php
echo <<<END
+
--EXPECTF--
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end
(T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in %s on line %d
diff --git a/Zend/tests/flexible-nowdoc-error7.phpt b/Zend/tests/flexible-nowdoc-error7.phpt
index d68dab8..27d5dbb 100644
--- a/Zend/tests/flexible-nowdoc-error7.phpt
+++ b/Zend/tests/flexible-nowdoc-error7.phpt
@@ -6,5 +6,6 @@ Note: the closing ?> has been deliberately elided.
<?php
echo <<<'END'
+
--EXPECTF--
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end
(T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in %s on line %d