You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(scripts): batch 6b — assertion floors for nine scripts/** self-tests (sink repair + hoisted battery) (#15248)
* test(scripts): floor check-pnpm-acquisition's self-test with a battery roster
`cases` with no failing entry was this self-test's only success condition, so
"every case held" and "the cases never ran" printed the same line.
Batch 6b of the roster-floor transplant, two shapes at once:
- the sink repair PR #15156 landed: the concise arrow `const t = (name, ok,
detail) => cases.push(...)` gains a block body and registers the case before
recording it. `cases.push` receives exactly the arguments it always did --
no case is rewritten, reordered or re-judged.
- the single hoisted battery PR #15217 landed: this file carries no named
section banner, so it declares ONE battery opened at the top of the
self-test body, floor at the measured count (12), and pins the roster's own
size at 1. No comment is promoted to a section head.
A breach files into the self-test's own `cases` sink, so the existing verdict
reds on it with no verdict line rewritten; the #13798 handshake is untouched.
Cases before == after: 12 == 12, measured on runs.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
* test(scripts): floor check-skill-frame-freshness's self-test with a battery roster
`failed === 0` was this self-test's only success condition, so "every case
held" and "the cases never ran" printed the same line.
Batch 6b, two shapes at once:
- the sink repair PR #15156 landed: the 12 inline `cases.push({...})` sites
route through ONE block-bodied in-body helper, `addCase`, which registers
the case and then performs the identical push. The case object is passed
through untouched and the loop that runs the cases is not touched at all --
no case is rewritten, reordered or re-judged.
- the single hoisted battery PR #15217 landed: this file carries no named
section banner (its `--- n/m: ... ---` comments label fixtures, not
sections), so it declares ONE battery opened at the top of the self-test
body, floor at the measured count (12), roster size pinned at 1. No comment
is promoted to a section head.
A breach files into the self-test's own `failed` counter, so the existing
verdict reds on it with no verdict line rewritten; the #13798 handshake is
untouched. Normal mode stays green on the tree.
Cases before == after: 12 == 12, measured on runs.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments