Skip to content

Commit

Permalink
fix(test): typo in function updatePairsFile (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
JieTea authored May 19, 2024
1 parent 722034f commit 7a04bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exchange/pairs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion exchange/pairs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 7a04bab

Please sign in to comment.