mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 15:10:44 +00:00
Bump golangci-lint to v1.18.0 (#354)
* Bump golangci-lint to v0.18.0 * Bump AppVeyor golangci-lint to v1.18 For science * Bump golangci deadline * Fix notifications typo * Fix grammar * Update DisableNTPCheck test string comparison
This commit is contained in:
@@ -202,7 +202,7 @@ func TestSubscriptionWithExistingEntry(t *testing.T) {
|
||||
w.SetChannelSubscriber(placeholderSubscriber)
|
||||
w.subscribeToChannels()
|
||||
if len(w.subscribedChannels) != 1 {
|
||||
t.Errorf("Subscription should not have occured")
|
||||
t.Errorf("Subscription should not have occurred")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ func TestUnsubscriptionWithExistingEntry(t *testing.T) {
|
||||
w.SetChannelUnsubscriber(placeholderSubscriber)
|
||||
w.unsubscribeToChannels()
|
||||
if len(w.subscribedChannels) != 1 {
|
||||
t.Errorf("Unsubscription should not have occured")
|
||||
t.Errorf("Unsubscription should not have occurred")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -577,6 +577,6 @@ func TestSetup(t *testing.T) {
|
||||
w := WebsocketOrderbookLocal{}
|
||||
w.Setup(1, true, true, true, true, "hi")
|
||||
if w.obBufferLimit != 1 || !w.bufferEnabled || !w.sortBuffer || !w.sortBufferByUpdateIDs || !w.updateEntriesByID || w.exchangeName != "hi" {
|
||||
t.Errorf("Setup incorrectly loaded %v", w)
|
||||
t.Errorf("Setup incorrectly loaded %s", w.exchangeName)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user