Skip to content

Commit

Permalink
Fix Double testing of ws.Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Oct 21, 2023
1 parent 7f578f0 commit b2c6bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/stream/websocket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func TestResubscribe(t *testing.T) {
assert.ErrorIs(t, err, errInvalidMaxSubscriptions, "Invalid MaxWebsocketSubscriptionsPerConnection should error")

err = ws.Setup(defaultSetup)
assert.NoError(t, ws.Setup(defaultSetup), "WS Setup should not error")
assert.NoError(t, err, "WS Setup should not error")

fnSub := func(subs []ChannelSubscription) error {
ws.AddSuccessfulSubscriptions(subs...)
Expand Down

0 comments on commit b2c6bf7

Please sign in to comment.