From 2a02a946e7ec52b542d49d7b4b6adc8444ddcfce Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 3 Jan 2021 03:13:20 -0600 Subject: [PATCH] lint: make scopelint happy on test --- backend/app/notify/telegram_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/notify/telegram_test.go b/backend/app/notify/telegram_test.go index 8bfa370f..1b926035 100644 --- a/backend/app/notify/telegram_test.go +++ b/backend/app/notify/telegram_test.go @@ -157,6 +157,7 @@ func TestTelegram_escapeTitle(t *testing.T) { tb := Telegram{} for i, tt := range tbl { + tt = tt t.Run(strconv.Itoa(i), func(t *testing.T) { assert.Equal(t, tt.out, tb.escapeTitle(tt.inp)) })