From 7a04bab04b0478eb74c76b55b88b766cc24116b2 Mon Sep 17 00:00:00 2001 From: JieTea <163161987+JieTea@users.noreply.github.com> Date: Mon, 20 May 2024 02:03:04 +0800 Subject: [PATCH] fix(test): typo in function updatePairsFile (#320) --- exchange/pairs.go | 2 +- exchange/pairs_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exchange/pairs.go b/exchange/pairs.go index 2146f76f..d240089e 100644 --- a/exchange/pairs.go +++ b/exchange/pairs.go @@ -34,7 +34,7 @@ func SplitAssetQuote(pair string) (asset string, quote string) { return data.Asset, data.Quote } -func updateParisFile() error { +func updatePairsFile() error { client := binance.NewClient("", "") sportInfo, err := client.NewExchangeInfoService().Do(context.Background()) if err != nil { diff --git a/exchange/pairs_test.go b/exchange/pairs_test.go index aba96297..8a5ac458 100644 --- a/exchange/pairs_test.go +++ b/exchange/pairs_test.go @@ -29,6 +29,6 @@ func TestSplitAssetQuote(t *testing.T) { func TestUpdatePairFile(t *testing.T) { t.Skip() // it is not a test, just utility function to update pairs list - err := updateParisFile() + err := updatePairsFile() require.NoError(t, err) }