From a37e8bc3963a021c92c4af3477cbf2513ebffec1 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 12 Jul 2026 16:50:11 +0200 Subject: [PATCH] test(ios): count every localized agent fallback --- apps/ios/Tests/RuntimeLocalizationSourceGuardTests.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/ios/Tests/RuntimeLocalizationSourceGuardTests.swift b/apps/ios/Tests/RuntimeLocalizationSourceGuardTests.swift index 165e12246299..bdd83b6b47cc 100644 --- a/apps/ios/Tests/RuntimeLocalizationSourceGuardTests.swift +++ b/apps/ios/Tests/RuntimeLocalizationSourceGuardTests.swift @@ -113,8 +113,9 @@ struct RuntimeLocalizationSourceGuardTests { } #expect(phoneControlHub.contains("String(localized: \"Default Agent\")")) #expect(proComponents.contains("OpenClawStatusBadge(label: .verbatim(self.title)")) - #expect(skillWorkshop.contains("String(localized: \"Default agent\")")) - #expect(workboard.components(separatedBy: "String(localized: \"Default agent\")").count - 1 == 2) + #expect( + skillWorkshop.components(separatedBy: "String(localized: \"Default agent\")").count - 1 == 2) + #expect(workboard.components(separatedBy: "String(localized: \"Default agent\")").count - 1 == 4) #expect(!workboard.contains("?? \"Default agent\"")) #expect(talkPro.contains("if title.isEmpty { return String(localized: \"Not active\") }")) #expect(talkManager.contains(