From 04a0d11528859e04430bf9263f6a22418d2c06ca Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Fri, 13 Apr 2018 12:45:56 +0300 Subject: [PATCH] swarm/storage: better comment --- swarm/storage/ldbstore_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/storage/ldbstore_test.go b/swarm/storage/ldbstore_test.go index 6601693c8f..0d560d5187 100644 --- a/swarm/storage/ldbstore_test.go +++ b/swarm/storage/ldbstore_test.go @@ -296,7 +296,7 @@ func TestLDBStoreWithoutCollectGarbage(t *testing.T) { go ldb.Put(chunks[i]) } - // wait for all chunks to be stored before ending the test are cleaning up + // wait for all chunks to be stored for i := 0; i < n; i++ { <-chunks[i].dbStoredC } @@ -347,7 +347,7 @@ func TestLDBStoreCollectGarbage(t *testing.T) { ldb.Put(chunks[i]) } - // wait for all chunks to be stored before ending the test are cleaning up + // wait for all chunks to be stored for i := 0; i < n; i++ { <-chunks[i].dbStoredC }