mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@ -30,7 +30,6 @@ func TestTruncate(t *testing.T) {
|
||||
{"foo", 0, ""},
|
||||
{"foo", -1, ""},
|
||||
} {
|
||||
tt := tt
|
||||
t.Run(tt.expected, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
actual := strings.Truncate(tt.s, tt.n)
|
||||
|
Reference in New Issue
Block a user