From 2bfa37cdb32892ff235c2afc2e632d753cf205ab Mon Sep 17 00:00:00 2001 From: lash Date: Fri, 12 Oct 2018 11:47:47 +0200 Subject: [PATCH] swarm/storage: Delint --- swarm/storage/ldbstore_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swarm/storage/ldbstore_test.go b/swarm/storage/ldbstore_test.go index 92a6759404..f177bc6b38 100644 --- a/swarm/storage/ldbstore_test.go +++ b/swarm/storage/ldbstore_test.go @@ -302,10 +302,9 @@ func TestLDBStoreWithoutCollectGarbage(t *testing.T) { // retrieve only some of them, because garbage collection must have partially cleared the store // Also tests that we can delete chunks and that we can trigger garbage collection func TestLDBStoreCollectGarbage(t *testing.T) { - var cap int // below max ronud - cap = defaultMaxGCRound / 2 + cap := defaultMaxGCRound / 2 t.Run(fmt.Sprintf("A/%d/%d", cap, cap*4), testLDBStoreCollectGarbage) t.Run(fmt.Sprintf("B/%d/%d", cap, cap*4), testLDBStoreRemoveThenCollectGarbage)