test: cover lowercase compatibility method returns
This commit is contained in:
@@ -46,6 +46,9 @@ EXPECTED = {
|
||||
"tests/typecheck_method_compat_return_bad.claro": [
|
||||
"tests/typecheck_method_compat_return_bad.claro:4: Type mismatch for return from Player.score: expected NUMBER, but this value looks like TEXT.",
|
||||
],
|
||||
"tests/typecheck_method_compat_lowercase_return_bad.claro": [
|
||||
"tests/typecheck_method_compat_lowercase_return_bad.claro:3: Type mismatch for return from Player.score: expected NUMBER, but this value looks like TEXT.",
|
||||
],
|
||||
"tests/typecheck_method_return_expression_bad.claro": [
|
||||
"tests/typecheck_method_return_expression_bad.claro:4: Type mismatch for return from Player.label: expected TEXT, but this value looks like NUMBER.",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user