From 3fd08b3bd49086f9a9d0f05e395a29c20ded90a2 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 25 Sep 2011 03:35:57 +0000 Subject: [PATCH] Fix tests due to bison depened message format --- ext/phar/tests/fatal_error_webphar.phpt | 2 +- tests/basic/bug51709_1.phpt | 2 +- tests/basic/bug51709_2.phpt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.50.1