test(verification): the bare 02243c6 start point needs only the red run
The no-shim variant only shows the load error at the start point; its result run repeated the shimmed one. --red-only skips it: the test goes from 29 s to 14 s run alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
abc3083c1e
commit
382d5ccba2
1 changed files with 2 additions and 1 deletions
|
|
@ -190,7 +190,8 @@ test('red proof: reproduces the 02243c6 red-first measurement (6 of 55) and the
|
|||
assert.equal(withShim.status, 'proven', JSON.stringify(withShim));
|
||||
assert.deepEqual(withShim.base.tap, { tests: 55, fail: 6 });
|
||||
assert.deepEqual(withShim.result.tap, { tests: 55, fail: 0 });
|
||||
const bareRun = proveRed({ cwd: dir, base: bare, cmd, tests: [TEST_FILE] });
|
||||
// Only the start point matters here; the result run above already showed 0 of 55.
|
||||
const bareRun = proveRed({ cwd: dir, base: bare, cmd, tests: [TEST_FILE], redOnly: true });
|
||||
assert.equal(bareRun.status, 'proven');
|
||||
assert.deepEqual(bareRun.base.tap, { tests: 1, fail: 1 }, 'the parent tree fails as ONE load error, not as named tests');
|
||||
} finally {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue