From 47d07f2092d36b85d8adc22e01aa2626af949f06 Mon Sep 17 00:00:00 2001 From: thuanle Date: Sun, 26 Apr 2026 21:15:53 +0700 Subject: [PATCH] style: fix gofmt alignment in resolver_test.go stub Co-Authored-By: Claude Opus 4.7 --- internal/helper/binancex/resolver_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/helper/binancex/resolver_test.go b/internal/helper/binancex/resolver_test.go index 5232a78..5e0767c 100644 --- a/internal/helper/binancex/resolver_test.go +++ b/internal/helper/binancex/resolver_test.go @@ -19,16 +19,16 @@ func (m *resolverMarketStub) GetAllPremiumIndex() (map[string]market.PremiumInde return nil, nil } func (m *resolverMarketStub) GetAllFundRate() (map[string]float64, map[string]int64) { return nil, nil } -func (m *resolverMarketStub) GetSpotPrice(symbol string) (float64, bool) { return 0, false } -func (m *resolverMarketStub) GetMarginInterestRates() map[string]float64 { return nil } -func (m *resolverMarketStub) IsAlphaToken(symbol string) bool { return false } +func (m *resolverMarketStub) GetSpotPrice(symbol string) (float64, bool) { return 0, false } +func (m *resolverMarketStub) GetMarginInterestRates() map[string]float64 { return nil } +func (m *resolverMarketStub) IsAlphaToken(symbol string) bool { return false } func (m *resolverMarketStub) GetAlphaToken(symbol string) (market.AlphaTokenInfo, bool) { return market.AlphaTokenInfo{}, false } func (m *resolverMarketStub) GetAlphaPrice(symbol string) (float64, bool) { return 0, false } -func (m *resolverMarketStub) IsSpotPair(symbol string) bool { return m.spotPairs[symbol] } -func (m *resolverMarketStub) IsFuturesPair(symbol string) bool { return m.futuresPairs[symbol] } -func (m *resolverMarketStub) RefreshTradingPairCache() error { return nil } +func (m *resolverMarketStub) IsSpotPair(symbol string) bool { return m.spotPairs[symbol] } +func (m *resolverMarketStub) IsFuturesPair(symbol string) bool { return m.futuresPairs[symbol] } +func (m *resolverMarketStub) RefreshTradingPairCache() error { return nil } func TestToken2FutureSymbols_ResolvesPrefixAndSuffix(t *testing.T) { orig := data.Market