Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
intUnderflow committed Feb 1, 2022
1 parent 499207f commit f9f07d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'"))
}

Expand Down

0 comments on commit f9f07d6

Please sign in to comment.