]> Sergey Matveev's repositories - btrtrc.git/blobdiff - issue211_test.go
Replace internal/tmproot with Testing.TB.TempDir
[btrtrc.git] / issue211_test.go
index dedbaa5647a80a1337f94e10a7ef3aa38a2852b1..f33057e413972ee966c47fdb5e38cfe5346e6afc 100644 (file)
@@ -14,7 +14,7 @@ import (
 )
 
 func TestDropTorrentWithMmapStorageWhileHashing(t *testing.T) {
-       cfg := TestingConfig()
+       cfg := TestingConfig(t)
        // Ensure the data is present when the torrent is added, and not obtained
        // over the network as the test runs.
        cfg.DownloadRateLimiter = rate.NewLimiter(0, 0)