Add some TODOs and tidy a test

This commit is contained in:
Matt Joiner 2018-01-09 17:26:46 +11:00
parent 8eb1a3effe
commit 659be3d366
1 changed files with 4 additions and 3 deletions

View File

@ -78,21 +78,22 @@ func TestAddDropTorrent(t *testing.T) {
}
func TestAddTorrentNoSupportedTrackerSchemes(t *testing.T) {
// TODO?
t.SkipNow()
}
func TestAddTorrentNoUsableURLs(t *testing.T) {
// TODO?
t.SkipNow()
}
func TestAddPeersToUnknownTorrent(t *testing.T) {
// TODO?
t.SkipNow()
}
func TestPieceHashSize(t *testing.T) {
if pieceHash.Size() != 20 {
t.FailNow()
}
assert.Equal(t, 20, pieceHash.Size())
}
func TestTorrentInitialState(t *testing.T) {