Skip to content

Commit e2362a9

Browse files
authored
Update zpp test expectations for php 8. (nikic#182)
PHP 8 refers to arguments as "argument". This changed recently. PHP 7 refers to arguments as "parameter".
1 parent 21057fb commit e2362a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/zpp_errors.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ try { ast\kind_uses_flags(); }
1313
catch (TypeError $e) { echo $e->getMessage(), "\n"; }
1414

1515
?>
16-
--EXPECT--
17-
ast\parse_code() expects at least 1 parameter, 0 given
18-
ast\parse_file() expects at least 1 parameter, 0 given
19-
ast\get_kind_name() expects exactly 1 parameter, 0 given
20-
ast\kind_uses_flags() expects exactly 1 parameter, 0 given
16+
--EXPECTF--
17+
ast\parse_code() expects at least 1 %s, 0 given
18+
ast\parse_file() expects at least 1 %s, 0 given
19+
ast\get_kind_name() expects exactly 1 %s, 0 given
20+
ast\kind_uses_flags() expects exactly 1 %s, 0 given

0 commit comments

Comments
 (0)