diff --git a/internal/gui/tests/i18n-keys.test.cjs b/internal/gui/tests/i18n-keys.test.cjs index cf5adde38..23a2221ff 100644 --- a/internal/gui/tests/i18n-keys.test.cjs +++ b/internal/gui/tests/i18n-keys.test.cjs @@ -47,7 +47,9 @@ test("a plugin's words are its own", () => { if (e.isDirectory()) { // third_party is vendored code, which says nothing to the window if (!["node_modules", ".git", "site", "tests", "testdata", "docs", "third_party"].includes(e.name)) walk(p); - } else if (/\.(go|js|html|css)$/.test(e.name) && e.name !== "i18n.js") { + } else if (/\.(go|js|html|css)$/.test(e.name) && e.name !== "i18n.js" && !e.name.endsWith("_test.go")) { + // a Go test says nothing to the window: claude_image_budget_test.go's + // "turn i, with an image" turned this red for a day (#6877) let text = fs.readFileSync(p, "utf8"); // a comment line says nothing to the window: Go's "(View routing, // the …" and "Use the library's sets …" cite a plugin's words