mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@ -471,7 +471,6 @@ func TestServer(t *testing.T) {
|
||||
expectGithubDefaultProviderConfigured: true,
|
||||
},
|
||||
} {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
runGitHubProviderTest(t, tc)
|
||||
})
|
||||
@ -629,7 +628,6 @@ func TestServer(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, c := range cases {
|
||||
c := c
|
||||
t.Run(c.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
ctx, cancelFunc := context.WithCancel(context.Background())
|
||||
@ -883,8 +881,6 @@ func TestServer(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, c := range cases {
|
||||
c := c
|
||||
|
||||
t.Run(c.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
Reference in New Issue
Block a user