mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
exchanges/GateIO: Fix wrong function names in comments (#2070)
Signed-off-by: mickychang9 <mickychang9@outlook.com>
This commit is contained in:
@@ -192,7 +192,7 @@ func TestWebsocketSpotGetOrderStatus(t *testing.T) {
|
||||
require.NotEmpty(t, got)
|
||||
}
|
||||
|
||||
// getWebsocketInstance returns a websocket instance copy for testing.
|
||||
// newExchangeWithWebsocket returns a websocket instance copy for testing.
|
||||
// This restricts the pairs to a single pair per asset type to reduce test time.
|
||||
func newExchangeWithWebsocket(t *testing.T, a asset.Item) *Exchange {
|
||||
t.Helper()
|
||||
|
||||
@@ -69,7 +69,7 @@ func TestEnsureKeyed(t *testing.T) {
|
||||
assert.Equal(t, s.Key, k2, "Key should be the key provided")
|
||||
}
|
||||
|
||||
// TestSubscriptionMarshalling ensures json Marshalling is clean and concise
|
||||
// TestSubscriptionMarshaling ensures json Marshalling is clean and concise
|
||||
// Since there is no UnmarshalJSON, this just exercises the json field tags of Subscription, and regressions in conciseness
|
||||
func TestSubscriptionMarshaling(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
Reference in New Issue
Block a user