]> Sergey Matveev's repositories - btrtrc.git/blob - torrent_mmap_test.go
Remove old-style build tags
[btrtrc.git] / torrent_mmap_test.go
1 //go:build !wasm
2
3 package torrent
4
5 import (
6         "testing"
7
8         "github.com/anacrolix/torrent/storage"
9 )
10
11 func TestEmptyFilesAndZeroPieceLengthWithMMapStorage(t *testing.T) {
12         cfg := TestingConfig(t)
13         ci := storage.NewMMap(cfg.DataDir)
14         defer ci.Close()
15         cfg.DefaultStorage = ci
16         testEmptyFilesAndZeroPieceLength(t, cfg)
17 }