diff --git a/pkg/transport-discovery/client/client_test.go b/pkg/transport-discovery/client/client_test.go index e847f22fe9..6670630e1b 100644 --- a/pkg/transport-discovery/client/client_test.go +++ b/pkg/transport-discovery/client/client_test.go @@ -96,7 +96,7 @@ func TestRegisterTransportResponses(t *testing.T) { func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusCreated) }, func(err error) { require.NoError(t, err) }, }, - // TODO(evaninjin): Not sure why this is failing and why this is expected behaviour. + // TODO(evaninjin): Not sure why this is failing and why this is expected behavior. //{ // "StatusOK", // func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) }, @@ -115,7 +115,7 @@ func TestRegisterTransportResponses(t *testing.T) { }, func(err error) { require.Error(t, err) - assert.Contains(t, err.Error(), "status: 500") + assert.Contains(t, err.Error(), "500") assert.Contains(t, err.Error(), "boom") }, }, @@ -128,8 +128,8 @@ func TestRegisterTransportResponses(t *testing.T) { }, func(err error) { require.Error(t, err) - assert.Contains(t, err.Error(), "status: 500") - assert.Contains(t, err.Error(), "error: boom") + assert.Contains(t, err.Error(), "500") + assert.Contains(t, err.Error(), "boom") }, }, {