test: add object field unknown TEXT diagnostic fixture
This commit is contained in:
@@ -38,6 +38,9 @@ EXPECTED = {
|
||||
"tests/typecheck_object_field_unknown_bad.claro": [
|
||||
"tests/typecheck_object_field_unknown_bad.claro:6: Object Player has no field level. Check the field name or add HAS level NUMBER to the class.",
|
||||
],
|
||||
"tests/typecheck_object_field_unknown_text_bad.claro": [
|
||||
"tests/typecheck_object_field_unknown_text_bad.claro:6: Object Player has no field nickname. Check the field name or add HAS nickname TEXT to the class.",
|
||||
],
|
||||
}
|
||||
|
||||
EXPECTED_OK = [
|
||||
|
||||
Reference in New Issue
Block a user