X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/df1ade5433b027f9cb905e584921692313e647f5..45ca5d60383cbe270624c713b916da29af7ba88f:/hotline/server_test.go diff --git a/hotline/server_test.go b/hotline/server_test.go index bf608e1..3a368e0 100644 --- a/hotline/server_test.go +++ b/hotline/server_test.go @@ -5,8 +5,8 @@ import ( "context" "fmt" "github.com/stretchr/testify/assert" - "go.uber.org/zap" "io" + "log/slog" "os" "sync" "testing" @@ -35,15 +35,12 @@ func TestServer_handleFileTransfer(t *testing.T) { fileTransfers map[[4]byte]*FileTransfer Config *Config ConfigDir string - Logger *zap.SugaredLogger + Logger *slog.Logger PrivateChats map[uint32]*PrivateChat NextGuestID *uint16 TrackerPassID [4]byte Stats *Stats FS FileStore - outbox chan Transaction - mux sync.Mutex - flatNewsMux sync.Mutex FlatNews []byte } type args struct {