Skip to content

Commit

Permalink
fix: reduntant assign
Browse files Browse the repository at this point in the history
  • Loading branch information
notanatol committed Feb 23, 2024
1 parent 0a199ea commit 7ea5aeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ func TestParseName(t *testing.T) {
s.Configure(signer, nil, nil, api.Options{}, api.ExtraOptions{Resolver: tC.res}, 1, nil)
s.MountAPI()

tC := tC
t.Run(tC.desc, func(t *testing.T) {
t.Parallel()

Expand Down Expand Up @@ -553,7 +552,7 @@ func TestOptions(t *testing.T) {
expectedMethods: "GET, HEAD",
},
} {
tc := tc

t.Run(tc.endpoint+" options test", func(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 7ea5aeb

Please sign in to comment.