test: align fallback expectations after merge

This commit is contained in:
Eyejoker
2026-03-24 03:56:07 +09:00
parent 0724914a43
commit 991f2bf2fd
3 changed files with 90 additions and 32 deletions

View File

@@ -48,7 +48,7 @@ function isClaudeUsageExhaustedMessage(text: string): boolean {
const normalized = text
.trim()
.toLowerCase()
.replace(/[''`]/g, "'")
.replace(/[`]/g, "'")
.replace(/\s+/g, ' ')
.replace(/^error:\s*/i, '');
const looksLikeBanner =