Skip to content

Commit

Permalink
Updating an error to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
cranktakular committed Feb 27, 2024
1 parent 19245e3 commit 79ac205
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions exchanges/coinbasepro/coinbasepro_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1516,9 +1516,7 @@ func TestWsConnect(t *testing.T) {
t.Error(err)
}
err = c.WsConnect()
if err.Error() != stream.WebsocketNotEnabled {
t.Errorf(errExpectMismatch, err, stream.WebsocketNotEnabled)
}
assert.ErrorIs(t, err, stream.ErrWebsocketNotEnabled)
err = c.Websocket.Enable()
assert.NoError(t, err)
}
Expand Down

0 comments on commit 79ac205

Please sign in to comment.