]> granicus.if.org Git - php/commitdiff
Fix tests due to bison depened message format
authorXinchen Hui <laruence@php.net>
Sun, 25 Sep 2011 03:35:57 +0000 (03:35 +0000)
committerXinchen Hui <laruence@php.net>
Sun, 25 Sep 2011 03:35:57 +0000 (03:35 +0000)
ext/phar/tests/fatal_error_webphar.phpt
tests/basic/bug51709_1.phpt
tests/basic/bug51709_2.phpt

index 9d0970d17833cb7288f11502cdff22c7570a228b..3153c344e0c4181e89778247de463fc13ce38dce 100644 (file)
@@ -15,4 +15,4 @@ Content-type: text/html; charset=UTF-8
 --EXPECTF--
 string(9) "\Web\View"
 
-Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting function (T_FUNCTION) in phar:///%sfatal_error_webphar.php/Web/View.php on line 380
+Parse error: syntax error, unexpected %s, expecting %s in phar:///%sfatal_error_webphar.php/Web/View.php on line 380
index 19d298ad7d42d8af89755f564d0d123b0988d01a..3f2d544e54d5c77bf8a9d6f9d1fb847733bc6db7 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 %s, expecting %s in %sbug51709_1.php on line %d
index c5e904df8307ac9c2777170f9d0bc561dc1e75c4..bb1f91cc4c7e2a9132f8bc2072b9c99a2b963442 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 %s, expecting %s in %sbug51709_2.php on line %d