]> Sergey Matveev's repositories - btrtrc.git/blobdiff - client-nowasm_test.go
Drop support for go 1.20
[btrtrc.git] / client-nowasm_test.go
index 3ce43f2ab27c268aa9f4a1fc3a65c767e3588e51..9b93139da51142e200bc081f7b82c8941bdd04e2 100644 (file)
@@ -8,7 +8,6 @@ import (
        "testing"
 
        qt "github.com/frankban/quicktest"
-
        "github.com/stretchr/testify/require"
 
        "github.com/anacrolix/torrent/internal/testutil"
@@ -59,7 +58,7 @@ func TestIssue335(t *testing.T) {
        cfg.DefaultStorage = mmapStorage
        cl, err := NewClient(cfg)
        c.Assert(err, qt.IsNil)
-       defer logErr(cl.Close, "closing client")
+       defer cl.Close()
        tor, new, err := cl.AddTorrentSpec(TorrentSpecFromMetaInfo(mi))
        c.Assert(err, qt.IsNil)
        c.Assert(new, qt.IsTrue)