From 5377d0c531f67be291611e08e6ccd10b4b70606d Mon Sep 17 00:00:00 2001 From: Christophe Serafin Date: Mon, 10 Jun 2019 10:57:38 -0700 Subject: [PATCH] fix: typo --- internal/push/push.go | 1 - maniphttp/helpers_test.go | 2 +- manipvortex/manipulator_test.go | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/push/push.go b/internal/push/push.go index 44a529da..3d57ea2d 100644 --- a/internal/push/push.go +++ b/internal/push/push.go @@ -148,7 +148,6 @@ func (s *subscription) connect(ctx context.Context, initial bool) (err error) { resp.Body.Close() // nolint - try = 0 return nil } diff --git a/maniphttp/helpers_test.go b/maniphttp/helpers_test.go index 59e28e88..bbbbe55a 100644 --- a/maniphttp/helpers_test.go +++ b/maniphttp/helpers_test.go @@ -204,7 +204,7 @@ func TestManiphttp_DirectSend(t *testing.T) { } if string(body) != "hello" { - panic("wrong body recieved.") + panic("wrong body received.") } if !strings.HasSuffix(r.RequestURI, "/toto") { diff --git a/manipvortex/manipulator_test.go b/manipvortex/manipulator_test.go index fbccf58b..93b6e775 100644 --- a/manipvortex/manipulator_test.go +++ b/manipvortex/manipulator_test.go @@ -83,7 +83,7 @@ func newIdentityProcessor(readConsistency manipulate.ReadConsistency, writeConsi func Test_New(t *testing.T) { t.Parallel() - Convey("When I create a new memdb vortex, I sould have correct structures", t, func() { + Convey("When I create a new memdb vortex, I should have correct structures", t, func() { m := maniptest.NewTestManipulator() d, err := newDatastore() So(err, ShouldBeNil)