exchanges/GateIO: Fix wrong function names in comments (#2070)

Signed-off-by: mickychang9 <mickychang9@outlook.com>
This commit is contained in:
mickychang9
2025-09-30 08:57:49 +08:00
committed by GitHub
parent 72f7b3b618
commit b12a274c2c
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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()