Skip to content
Browse files

Fix tests due to bison depened message format

  • Loading branch information...
1 parent 579408b commit 3fd08b3bd49086f9a9d0f05e395a29c20ded90a2 @laruence laruence committed Sep 25, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 ext/phar/tests/fatal_error_webphar.phpt
  2. +1 −1 tests/basic/bug51709_1.phpt
  3. +1 −1 tests/basic/bug51709_2.phpt
View
2 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
View
2 tests/basic/bug51709_1.phpt
@@ -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
2 tests/basic/bug51709_2.phpt
@@ -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

0 comments on commit 3fd08b3

Please sign in to comment.
Something went wrong with that request. Please try again.