test: add object field CHECK TYPE unknown TEXT fixture

This commit is contained in:
Hermes Agent
2026-07-10 03:10:15 -06:00
parent c66c122c30
commit 60818223a9
8 changed files with 37 additions and 4 deletions
+3
View File
@@ -56,6 +56,9 @@ EXPECTED = {
"tests/typecheck_object_field_check_type_unknown_number_bad.claro": [
"tests/typecheck_object_field_check_type_unknown_number_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_check_type_unknown_text_bad.claro": [
"tests/typecheck_object_field_check_type_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 = [