From 177ce3c3e20cc3e6890ffa398b9719f40b8e046a Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Sat, 21 Feb 2026 19:12:00 -0800 Subject: [PATCH] fix: update upstream test assertions for Ironclaw branding - Telegram pairing test: expect 'ironclaw' not 'openclaw' in CLI hint - Status update test: expect 'ironclaw update' not 'openclaw update' Co-authored-by: Cursor --- src/commands/status.update.test.ts | 2 +- src/telegram/bot.create-telegram-bot.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/status.update.test.ts b/src/commands/status.update.test.ts index 8c29a37839f..0f966defa2c 100644 --- a/src/commands/status.update.test.ts +++ b/src/commands/status.update.test.ts @@ -141,7 +141,7 @@ describe("formatUpdateAvailableHint", () => { }); expect(formatUpdateAvailableHint(update)).toBe( - `Update available (git behind 2 · npm ${latestVersion}). Run: openclaw update`, + `Update available (git behind 2 · npm ${latestVersion}). Run: ironclaw update`, ); }); }); diff --git a/src/telegram/bot.create-telegram-bot.test.ts b/src/telegram/bot.create-telegram-bot.test.ts index 80c6ff1e76d..df8cfcd6f6b 100644 --- a/src/telegram/bot.create-telegram-bot.test.ts +++ b/src/telegram/bot.create-telegram-bot.test.ts @@ -313,7 +313,7 @@ describe("createTelegramBot", () => { expect(pairingText, testCase.name).toContain("Your Telegram user id: 999"); expect(pairingText, testCase.name).toContain("Pairing code:"); expect(pairingText, testCase.name).toContain("PAIRME12"); - expect(pairingText, testCase.name).toContain("openclaw pairing approve telegram PAIRME12"); + expect(pairingText, testCase.name).toContain("ironclaw pairing approve telegram PAIRME12"); expect(pairingText, testCase.name).not.toContain(""); } }