From: Matt Joiner <anacrolix@gmail.com>
Date: Tue, 9 Jan 2018 06:26:46 +0000 (+1100)
Subject: Add some TODOs and tidy a test
X-Git-Tag: v1.0.0~288
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=659be3d366338cefe97264d689eb9d0d773b8ce4;p=btrtrc.git

Add some TODOs and tidy a test
---

diff --git a/client_test.go b/client_test.go
index 49b4d1ec..6c1b3028 100644
--- a/client_test.go
+++ b/client_test.go
@@ -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) {