diff --git a/backend/app/notify/telegram_test.go b/backend/app/notify/telegram_test.go index 1b926035..811b259a 100644 --- a/backend/app/notify/telegram_test.go +++ b/backend/app/notify/telegram_test.go @@ -157,7 +157,7 @@ func TestTelegram_escapeTitle(t *testing.T) { tb := Telegram{} for i, tt := range tbl { - tt = tt + tt := tt t.Run(strconv.Itoa(i), func(t *testing.T) { assert.Equal(t, tt.out, tb.escapeTitle(tt.inp)) })