diff options
author | Felipe Pena <felipe@php.net> | 2011-06-24 19:23:25 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-06-24 19:23:25 +0000 |
commit | 12cc948688437e99f7f09b26f7435bea1b47edc0 (patch) | |
tree | 9afdde81cdaf6f03101e6f85dfac7b82564eddde /tests | |
parent | b632c3ac0686ceffa45489d5d229f7ff4a0a16e7 (diff) | |
download | php-git-12cc948688437e99f7f09b26f7435bea1b47edc0.tar.gz |
- Fixed tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/bug51709_1.phpt | 2 | ||||
-rw-r--r-- | tests/basic/bug51709_2.phpt | 2 | ||||
-rw-r--r-- | tests/lang/bug21820.phpt | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/basic/bug51709_1.phpt b/tests/basic/bug51709_1.phpt index 8abb92555d..19d298ad7d 100644 --- a/tests/basic/bug51709_1.phpt +++ b/tests/basic/bug51709_1.phpt @@ -13,4 +13,4 @@ class foo { ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d +Parse error: syntax error, unexpected 'for' (T_FOR), expecting identifier (T_STRING) in %sbug51709_1.php on line %d diff --git a/tests/basic/bug51709_2.phpt b/tests/basic/bug51709_2.phpt index 7763cafe52..c5e904df83 100644 --- a/tests/basic/bug51709_2.phpt +++ b/tests/basic/bug51709_2.phpt @@ -13,4 +13,4 @@ class foo { ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d +Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting identifier (T_STRING) in %sbug51709_2.php on line %d diff --git a/tests/lang/bug21820.phpt b/tests/lang/bug21820.phpt index 0ca233ea84..b862309e31 100644 --- a/tests/lang/bug21820.phpt +++ b/tests/lang/bug21820.phpt @@ -9,5 +9,5 @@ $arr = array('foo' => 'bar'); echo "$arr['foo']"; ?> ---EXPECTREGEX-- -Parse error: (parse|syntax) error, .*expecting `?T_STRING'? or `?T_VARIABLE'? or `?T_NUM_STRING'? in .*bug21820.php on line .* +--EXPECTF-- +Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in %sbug21820.php on line %d |