Skip to content

Commit

Permalink
fixup! Subscriptions: Fix Subscription Pairs validated
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Sep 28, 2024
1 parent 97d3501 commit e49f7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/subscription/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func TestExpandTemplates(t *testing.T) {
equalLists(t, exp, got)

// Users can specify pairs which aren't available, even across diverse assets
// Use-case: Coinbasepro user sub for futures BTC-USD would return all BTC pairs and all USD pairs, even though BTC-USD might not be enabled op available
// Use-case: Coinbasepro user sub for futures BTC-USD would return all BTC pairs and all USD pairs, even though BTC-USD might not be enabled or available
p := currency.Pairs{currency.NewPairWithDelimiter("BEAR", "PEAR", "🐻")}
got, err = List{{Channel: "expand-pairs", Asset: asset.All, Pairs: p}}.ExpandTemplates(e)
require.NoError(t, err, "Must not error with fictional pairs")
Expand Down

0 comments on commit e49f7af

Please sign in to comment.