X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/043c00da52efd5b7d9ef15750945ee55e6f78e7a..0ed5132769e88cb385b5240986b706430f0ccd72:/hotline/server_test.go diff --git a/hotline/server_test.go b/hotline/server_test.go index 0eb76f0..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,14 +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 - mux sync.Mutex - flatNewsMux sync.Mutex FlatNews []byte } type args struct {