Fix tests due to bison depened message format

This commit is contained in:
Xinchen Hui 2011-09-25 03:35:57 +00:00
parent 579408b897
commit 3fd08b3bd4
3 changed files with 3 additions and 3 deletions

View 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

View 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

View 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