fix go vet complaint in torrent_test.go
This commit is contained in:
parent
091225b9e4
commit
b81477c1d3
@ -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…
Reference in New Issue
Block a user