]> granicus.if.org Git - php/commitdiff
Fixed testing failed
authorXinchen Hui <laruence@php.net>
Tue, 30 Aug 2011 12:11:03 +0000 (12:11 +0000)
committerXinchen Hui <laruence@php.net>
Tue, 30 Aug 2011 12:11:03 +0000 (12:11 +0000)
tests/basic/bug51709_1.phpt
tests/basic/bug51709_2.phpt
tests/lang/bug21820.phpt

index 19d298ad7d42d8af89755f564d0d123b0988d01a..e80e08ac735803770fe54e953ae89a7d57aeb99d 100644 (file)
@@ -13,4 +13,4 @@ class foo {
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-Parse error: syntax error, unexpected 'for' (T_FOR), expecting identifier (T_STRING) in %sbug51709_1.php on line %d
+Parse error: syntax error, unexpected "for (T_FOR)", expecting "identifier (T_STRING)" in %sbug51709_1.php on line %d
index c5e904df8307ac9c2777170f9d0bc561dc1e75c4..49b7fd28dad7e142879b72837c58e74cdeef331d 100644 (file)
@@ -13,4 +13,4 @@ class foo {
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting identifier (T_STRING) in %sbug51709_2.php on line %d
+Parse error: syntax error, unexpected "goto (T_GOTO)", expecting "identifier (T_STRING)" in %sbug51709_2.php on line %d
index b862309e311c185401dcdf3190dcb629276ff5f6..603416d9cdb9383f4a4cbb0b8885e7c7d511718b 100644 (file)
@@ -10,4 +10,4 @@ echo "$arr['foo']";
 
 ?>
 --EXPECTF--
-Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in %sbug21820.php on line %d
+Parse error: syntax error, unexpected "quoted-string and whitespace (T_ENCAPSED_AND_WHITESPACE)", expecting "identifier (T_STRING)" or "variable (T_VARIABLE)" or "number (T_NUM_STRING)" in %sbug21820.php on line %d