Browse Source

fix go vet complaint in torrent_test.go

pull/13/head
mutantmonkey 9 years ago
parent
commit
b81477c1d3
  1. 2
      torrent_test.go

2
torrent_test.go

@ -36,7 +36,7 @@ func TestCreateTorrent(t *testing.T) {
tracker := fmt.Sprintf("%sselif/%s", Config.siteURL, fileName) tracker := fmt.Sprintf("%sselif/%s", Config.siteURL, fileName)
if decoded.UrlList[0] != tracker { if decoded.UrlList[0] != tracker {
t.Fatal("First entry in URL list was %s, expected %s", decoded.UrlList[0], tracker)
t.Fatalf("First entry in URL list was %s, expected %s", decoded.UrlList[0], tracker)
} }
} }

Loading…
Cancel
Save