fix linter

This commit is contained in:
Pascal Fischer 2024-11-22 19:52:50 +01:00
parent b3f09598ac
commit dcbadd47c0
3 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ func TestGeoLite_Lookup(t *testing.T) {
db, err := openDB(filename)
assert.NoError(t, err)
geo := &Geolocation{
geo := &GeolocationImpl{
mux: sync.RWMutex{},
db: db,
stopCh: make(chan struct{}),

View File

@ -114,8 +114,9 @@ func (MocIntegratedValidator) PeerDeleted(_ context.Context, _, _ string) error
}
func (MocIntegratedValidator) SetPeerInvalidationListener(func(accountID string)) {
// just a dummy
}
func (MocIntegratedValidator) Stop(_ context.Context) {
// just a dummy
}

View File

@ -4,6 +4,7 @@ import (
"context"
"errors"
"testing"
"time"
)
func TestServerPicker_UnavailableServers(t *testing.T) {