Skip to content

Commit 049cada

Browse files
committed
update error messages in failing tests
1 parent b4354c5 commit 049cada

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/tests/errmsg/errmsg_027.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ class test {
1313
echo "Done\n";
1414
?>
1515
--EXPECTF--
16-
Fatal error: Class declarations may not be nested in %s on line %d
16+
Fatal error: Class declarations may not be declared inside functions in %s on line %d

ext/reflection/tests/bug74454.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ function load_file() {
1414
}
1515
?>
1616
--EXPECT--
17-
ParseError: syntax error, unexpected token "if", expecting "function"
17+
ParseError: syntax error, unexpected token "if", expecting "class"

0 commit comments

Comments
 (0)