]> Sergey Matveev's repositories - btrtrc.git/blobdiff - issue211_test.go
Drop support for go 1.20
[btrtrc.git] / issue211_test.go
index 7794f8a50137974993485f57d1a14f30f3d5a913..a76be07a8a2da0a6c6682e28038eb610a9d8f140 100644 (file)
@@ -5,7 +5,6 @@ package torrent
 
 import (
        "io"
-       "io/ioutil"
        "testing"
 
        "github.com/stretchr/testify/assert"
@@ -38,5 +37,5 @@ func TestDropTorrentWithMmapStorageWhileHashing(t *testing.T) {
 
        r := tt.NewReader()
        go tt.Drop()
-       io.Copy(ioutil.Discard, r)
+       io.Copy(io.Discard, r)
 }