chore: remove loop var references
This commit is contained in:
committed by
Ralf Haferkamp
parent
900ecf736e
commit
d0e3f14539
@@ -87,7 +87,6 @@ func TestProcessorFor(t *testing.T) {
|
||||
assert := tAssert.New(t)
|
||||
|
||||
for _, tt := range tests {
|
||||
tt := tt
|
||||
t.Run("", func(t *testing.T) {
|
||||
p, e := thumbnail.ProcessorFor(tt.id, tt.fileType)
|
||||
assert.Equal(p.ID(), tt.wantP.ID())
|
||||
|
||||
@@ -56,7 +56,6 @@ func TestFileSystem_BuildKey(t *testing.T) {
|
||||
assert := tAssert.New(t)
|
||||
|
||||
for _, tt := range tests {
|
||||
tt := tt
|
||||
t.Run("", func(t *testing.T) {
|
||||
assert.Equal(s.BuildKey(tt.r), tt.want)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user