test: add object field unknown YESNO diagnostic fixture

This commit is contained in:
Hermes Agent
2026-06-25 03:05:29 -06:00
parent 2590208f19
commit ce89d65873
8 changed files with 22 additions and 6 deletions
+3
View File
@@ -41,6 +41,9 @@ EXPECTED = {
"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.",
],
"tests/typecheck_object_field_unknown_yesno_bad.claro": [
"tests/typecheck_object_field_unknown_yesno_bad.claro:6: Object Player has no field ready. Check the field name or add HAS ready YESNO to the class.",
],
}
EXPECTED_OK = [