From: Xinchen Hui Date: Sun, 25 Sep 2011 03:35:57 +0000 (+0000) Subject: Fix tests due to bison depened message format X-Git-Tag: php-5.5.0alpha1~1076 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d2a0bd6cc5b7ff7e1049739d16ee51042c47578;p=php Fix tests due to bison depened message format --- diff --git a/ext/phar/tests/fatal_error_webphar.phpt b/ext/phar/tests/fatal_error_webphar.phpt index 9d0970d178..3153c344e0 100644 --- a/ext/phar/tests/fatal_error_webphar.phpt +++ b/ext/phar/tests/fatal_error_webphar.phpt @@ -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 diff --git a/tests/basic/bug51709_1.phpt b/tests/basic/bug51709_1.phpt index 19d298ad7d..3f2d544e54 100644 --- a/tests/basic/bug51709_1.phpt +++ b/tests/basic/bug51709_1.phpt @@ -13,4 +13,4 @@ class foo { ===DONE=== --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 diff --git a/tests/basic/bug51709_2.phpt b/tests/basic/bug51709_2.phpt index c5e904df83..bb1f91cc4c 100644 --- a/tests/basic/bug51709_2.phpt +++ b/tests/basic/bug51709_2.phpt @@ -13,4 +13,4 @@ class foo { ===DONE=== --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