From 718b821ce34e0bdf530e97bd437302210235cd48 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Fri, 7 Aug 2026 13:29:33 -0700 Subject: [PATCH] fix(test): case-insensitive remediation-hint match for reworded Gemini NOT-READY message The message now leads with 'Export GEMINI_API_KEY...' (free-tier OAuth deprecation); the old pattern only knew lowercase 'export'. Co-Authored-By: Claude Fable 5 --- test/benchmark-cli.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/benchmark-cli.test.ts b/test/benchmark-cli.test.ts index 8edea3b24..7b359601a 100644 --- a/test/benchmark-cli.test.ts +++ b/test/benchmark-cli.test.ts @@ -133,7 +133,7 @@ describe('gstack-model-benchmark --dry-run', () => { const notReadyLines = out.split('\n').filter(l => l.includes('NOT READY')); expect(notReadyLines.length).toBeGreaterThanOrEqual(2); for (const line of notReadyLines) { - expect(line).toMatch(/(install|Install|login|export|Run|Log in)/); + expect(line).toMatch(/(install|login|export|run|log in)/i); } } finally { fs.rmSync(emptyHome, { recursive: true, force: true });