test(core): ingest multi-word context-literal key case (ADR-17)
public
test(core): ingest multi-word context-literal key case (ADR-17)
The 0057-feel-context fixture predated multi-word name support, so `{foo bar:
"foo"}` (a context literal whose key is a multi-word FEEL name) was skipped. The
slice detector's key-blanking now consumes the whole space-separated run up to
the colon (added with named-argument ingestion), so the case fits and the closed
loop validates the multi-word key.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Changeset | 8ad7192806ae99079c25930e2c56a80a471afb00 |
|---|---|
| Author (claimed) | Timo Stolz <timo.stolz@gmail.com>, |
| Parents | f11e8222db6f |
| Children | |
| Pushlog | by timo via ssh |
modified crates/feel-core/tests/fixtures/0057-feel-context.json +10 −0
| @@ -21,6 +21,16 @@ | ||
| 21 | 21 | "e": "baz" |
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | + }, | |
| 25 | + "expected_type": "context", | |
| 26 | + "comparison": "exact", | |
| 27 | + "deviation": null | |
| 28 | + }, | |
| 29 | + { | |
| 30 | + "id": "0057-feel-context:004:decision004", | |
| 31 | + "expression": "{foo bar: \"foo\"}", | |
| 32 | + "expected": { | |
| 33 | + "foo bar": "foo" | |
| 24 | 34 | }, |
| 25 | 35 | "expected_type": "context", |
| 26 | 36 | "comparison": "exact", |