mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 02:23:24 +00:00
all: fix go-critic linter suggestions
This commit is contained in:
committed by
Nick Craig-Wood
parent
44abf6473e
commit
06c9f76cd2
@@ -140,7 +140,7 @@ func TestQuickXorHashByBlock(t *testing.T) {
|
||||
got := h.Sum(nil)
|
||||
want, err := base64.StdEncoding.DecodeString(test.out)
|
||||
require.NoError(t, err, what)
|
||||
assert.Equal(t, want, got[:], test.size, what)
|
||||
assert.Equal(t, want, got, test.size, what)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user