diff --git a/response_test.go b/response_test.go index b7445ac1..f6d56ff3 100644 --- a/response_test.go +++ b/response_test.go @@ -265,7 +265,7 @@ func TestResponseDecodeErrorGivesTerror(t *testing.T) { bout := map[string]string{} err := rsp.Decode(&bout) - assert.True(t, terrors.Is(err, "bad_request")) + assert.True(t, terrors.Is(err, "bad_response")) assert.True(t, terrors.Matches(err, "invalid character 'i'")) }