test: add object field TEXT negative typecheck fixture

This commit is contained in:
Hermes Agent
2026-06-21 03:05:37 -06:00
parent a89b374766
commit 5914524ad6
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_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.",
],