Skip to content

Commit 9307f8a

Browse files
remicolletnikic
authored andcommitted
relax tests for 8.0 master
1 parent f6464b9 commit 9307f8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/parse_code_parse_error.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ try {
1818

1919
?>
2020
--EXPECTF--
21-
ParseError: syntax error, unexpected '&', expecting end of file in string code:1
21+
ParseError: syntax error, unexpected %s&%s expecting end of file in string code:1
2222
Stack trace:
2323
#0 %s(%d): ast\parse_code('%s', %d)
2424
#1 {main}
25-
ParseError: syntax error, unexpected '&', expecting end of file in file.php:1
25+
ParseError: syntax error, unexpected %s&%s expecting end of file in file.php:1
2626
Stack trace:
2727
#0 %s(%d): ast\parse_code('%s', %d, 'file.php')
2828
#1 {main}

tests/parse_file_parse_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ try {
1111

1212
?>
1313
--EXPECTF--
14-
ParseError: syntax error, unexpected ')' in %stests/invalid_file.php:3
14+
ParseError: syntax error, unexpected %s)%s in %stests/invalid_file.php:3
1515
Stack trace:
1616
#0 %s(%d): ast\parse_file('%s', %d)
1717
#1 {main}

0 commit comments

Comments
 (0)