6 qt "github.com/frankban/quicktest"
8 "github.com/anacrolix/torrent/internal/testutil"
11 func TestMmapWindows(t *testing.T) {
13 dir, mi := testutil.GreetingTestTorrent()
16 c.Check(cs.Close(), qt.IsNil)
18 info, err := mi.UnmarshalInfo()
19 c.Assert(err, qt.IsNil)
20 ts, err := cs.OpenTorrent(&info, mi.HashInfoBytes())
21 c.Assert(err, qt.IsNil)
23 c.Check(ts.Close(), qt.IsNil)