test: cover compatibility method missing arguments

This commit is contained in:
Hermes Agent
2026-09-10 12:52:43 +00:00
parent 8876fd3f15
commit 561c272e81
5 changed files with 21 additions and 1 deletions
+3
View File
@@ -92,6 +92,9 @@ EXPECTED = {
"tests/typecheck_method_missing_unchecked_arg_bad.claro": [
"tests/typecheck_method_missing_unchecked_arg_bad.claro:10: Method Player.rename needs 1 argument, but this call gives 0. Add the missing argument.",
],
"tests/typecheck_method_call_missing_unchecked_arg_bad.claro": [
"tests/typecheck_method_call_missing_unchecked_arg_bad.claro:10: Method Player.rename needs 1 argument, but this call gives 0. Add the missing argument.",
],
"tests/typecheck_method_extra_arg_bad.claro": [
"tests/typecheck_method_extra_arg_bad.claro:11: Method Player.add only accepts 1 argument, but this call gives 2. Remove the extra argument.",
],