Commit c8d31a3
committed
test(cli): make the schema-valid pins actually parse the fixture
The four rows in "the localized fixtures are schema-VALID" called
`normalizeStackInput(stack).stack`, but `normalizeStackInput` returns the
normalized stack itself, not a `{ stack }` wrapper — so `.stack` was
`undefined` and every row was parsing `undefined`, not the fixture. All four
were red.
Worse, the CONTROL row was passing for the wrong reason: it asserts a number
label does NOT parse, and `undefined` does not parse either, so it went green
without ever discriminating on the label. The block that exists to prove the
localized fixtures are supported authoring input was measuring nothing.
Drop the `.stack`. The four positives now parse clean and the control still
rejects, so the control discriminates on the label for the first time.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N1 parent 6cd2dc2 commit c8d31a3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
0 commit comments