X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/5bb22ac2fc501bad7327c119f1d3ac514e3d5398..47f69638bc96100f2e446f63c7c3689023156e64:/telegram_test.go?ds=sidebyside diff --git a/telegram_test.go b/telegram_test.go index 81e6e18..c1f1230 100644 --- a/telegram_test.go +++ b/telegram_test.go @@ -127,6 +127,13 @@ func TestStopFromTelegramInterruptsTheTurn(t *testing.T) { }) telegramWaitForSent(t, telegram, "Error: interrupted", "No turn runs.") + + telegram.Add(TelegramUpdate{ + UpdateID: 4, + Message: telegramOwnerMessage(stopCommand + " BlueFox"), + }) + + telegramWaitForSent(t, telegram, "No turn runs.", "No subagent BlueFox runs.") } func TestBotStartsAtTheStoredOffset(t *testing.T) {