test: add object field CHECK TYPE NUMBER negative fixture

This commit is contained in:
Hermes Agent
2026-06-30 03:07:07 -06:00
parent 66816f26d1
commit ca7c3b51ca
8 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ Object Player has no field nickname. Check the field name or add HAS nickname TE
Object Player has no field ready. Check the field name or add HAS ready YESNO to the class.
```
Direct object-field `CHECK TYPE` metadata mismatches are validated for TEXT and YESNO fields too. For example, after `HAS ready YESNO` and `SET player.ready YES`, `CHECK TYPE player.ready IS TEXT` reports:
Direct object-field `CHECK TYPE` metadata mismatches are validated for NUMBER, TEXT, and YESNO fields too. For example, after `HAS ready YESNO` and `SET player.ready YES`, `CHECK TYPE player.ready IS TEXT` reports:
```text
Type check failed: expected TEXT, but player.ready looks like YESNO.