fix go vet complaint in torrent_test.go

This commit is contained in:
mutantmonkey 2015-09-28 23:03:40 -07:00
parent 091225b9e4
commit b81477c1d3

View File

@ -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)
} }
} }