diff --git a/pkg/file/pipeline/encryption/encryption_test.go b/pkg/file/pipeline/encryption/encryption_test.go index edcfa33a46f..2010f6b8327 100644 --- a/pkg/file/pipeline/encryption/encryption_test.go +++ b/pkg/file/pipeline/encryption/encryption_test.go @@ -38,7 +38,7 @@ func init() { } } -// TestEncyrption tests that the encryption writer works correctly. +// TestEncryption tests that the encryption writer works correctly. func TestEncryption(t *testing.T) { t.Parallel() diff --git a/pkg/file/pipeline/feeder/feeder.go b/pkg/file/pipeline/feeder/feeder.go index 3d84f597d44..6ba722796f2 100644 --- a/pkg/file/pipeline/feeder/feeder.go +++ b/pkg/file/pipeline/feeder/feeder.go @@ -21,7 +21,7 @@ type chunkFeeder struct { wrote int64 } -// newChunkFeederWriter creates a new chunkFeeder that allows for partial +// NewChunkFeederWriter creates a new chunkFeeder that allows for partial // writes into the pipeline. Any pending data in the buffer is flushed to // subsequent writers when Sum() is called. func NewChunkFeederWriter(size int, next pipeline.ChainWriter) pipeline.Interface { diff --git a/pkg/pusher/pusher_test.go b/pkg/pusher/pusher_test.go index d45101d06f5..4abe0d67537 100644 --- a/pkg/pusher/pusher_test.go +++ b/pkg/pusher/pusher_test.go @@ -109,7 +109,7 @@ func (m *mockStorer) ReservePutter() storage.Putter { ) } -// TestSendChunkToPushSync sends a chunk to pushsync to be sent to its closest peer and get a receipt. +// TestChunkSyncing sends a chunk to pushsync to be sent to its closest peer and get a receipt. // once the receipt is got this check to see if the localstore is updated to see if the chunk is set // as ModeSetSync status. func TestChunkSyncing(t *testing.T) { diff --git a/pkg/pushsync/pushsync_test.go b/pkg/pushsync/pushsync_test.go index 7e1c661f089..90e6d654a5b 100644 --- a/pkg/pushsync/pushsync_test.go +++ b/pkg/pushsync/pushsync_test.go @@ -308,7 +308,7 @@ func TestShallowReceiptTolerance(t *testing.T) { waitOnRecordAndTest(t, closestPeer, recorder, chunk.Address(), nil) } -// PushChunkToClosest tests the sending of chunk to closest peer from the origination source perspective. +// TestPushChunkToClosest tests the sending of chunk to closest peer from the origination source perspective. // it also checks whether the tags are incremented properly if they are present func TestPushChunkToClosest(t *testing.T) { t.Parallel()