diff --git a/test/plan-mode-preamble-render.test.ts b/test/plan-mode-preamble-render.test.ts index 24bedde3f..60d10c400 100644 --- a/test/plan-mode-preamble-render.test.ts +++ b/test/plan-mode-preamble-render.test.ts @@ -49,7 +49,7 @@ describe('every installed-skill render carries the plan-mode arg', () => { test('setup: a build (which renders without the arg) does not skip the host re-renders when the key is off', () => { const setup = fs.readFileSync(path.join(ROOT, 'setup'), 'utf8'); const guards = setup.split('\n').filter(line => /^if \[ "\$INSTALL_[A-Z]+" -eq 1 \] && .*NEEDS_BUILD/.test(line)); - expect(guards.length).toBe(5); + expect(guards.length).toBe(6); for (const line of guards) expect(line, line).toContain('{ [ "$NEEDS_BUILD" -eq 0 ] || [ -n "$_PLAN_MODE_ARG" ]; }'); });