test: add object field YESNO negative typecheck fixture

This commit is contained in:
Hermes Agent
2026-06-19 03:07:52 -06:00
parent 296d2e5b4e
commit a89b374766
7 changed files with 18 additions and 4 deletions
+3
View File
@@ -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_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.",
],
}
EXPECTED_OK = [