fix(googlechat): remove useless test string concatenation · openclaw/openclaw@f05fd56
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
File tree
extensions/googlechat/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -849,7 +849,7 @@ describe("googlechatPlugin outbound sanitizeText", () => {
|
849 | 849 | |
850 | 850 | it("strips internal tool-trace failure banners from outbound text (#90684)", () => { |
851 | 851 | const text = |
852 | | -"Visible answer.\n" + "⚠️ 🛠️ `run openclaw definitely-not-a-real-subcommand (agent)` failed"; |
| 852 | +"Visible answer.\n⚠️ 🛠️ `run openclaw definitely-not-a-real-subcommand (agent)` failed"; |
853 | 853 | const out = sanitizeText({ text }); |
854 | 854 | expect(out).toBe("Visible answer."); |
855 | 855 | expect(out).not.toContain("failed"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。