test: add object field TEXT negative typecheck fixture
This commit is contained in:
@@ -29,6 +29,9 @@ EXPECTED = {
|
||||
"tests/typecheck_object_field_bad.claro": [
|
||||
"tests/typecheck_object_field_bad.claro:6: Type mismatch for field player.score: expected NUMBER, but this value looks like TEXT.",
|
||||
],
|
||||
"tests/typecheck_object_field_text_bad.claro": [
|
||||
"tests/typecheck_object_field_text_bad.claro:6: Type mismatch for field player.name: expected TEXT, but this value looks like NUMBER.",
|
||||
],
|
||||
"tests/typecheck_object_field_yesno_bad.claro": [
|
||||
"tests/typecheck_object_field_yesno_bad.claro:6: Type mismatch for field player.ready: expected YESNO, but this value looks like TEXT.",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user