diff --git a/integration-tests/plan-mode.test.ts b/integration-tests/plan-mode.test.ts index 5a1c91e4e1..2467b6027e 100644 --- a/integration-tests/plan-mode.test.ts +++ b/integration-tests/plan-mode.test.ts @@ -113,7 +113,7 @@ describe('Plan Mode', () => { ).toBe(true); }); - it.skip('should deny write_file to non-plans directory in plan mode', async () => { + it('should deny write_file to non-plans directory in plan mode', async () => { const plansDir = '.gemini/tmp/foo/123/plans'; const testName = 'should deny write_file to non-plans directory in plan mode'; @@ -135,7 +135,7 @@ describe('Plan Mode', () => { await rig.run({ approvalMode: 'plan', - args: 'Create a file called hello.txt in the current directory.', + args: 'Attempt to create a file named "hello.txt" in the current directory. Do not create a plan file, try to write hello.txt directly.', }); const toolLogs = rig.readToolLogs();