projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb1a3e
)
Add some TODOs and tidy a test
author
Matt Joiner <anacrolix@gmail.com>
Tue, 9 Jan 2018 06:26:46 +0000 (17:26 +1100)
committer
Matt Joiner <anacrolix@gmail.com>
Tue, 9 Jan 2018 06:26:46 +0000 (17:26 +1100)
client_test.go
patch
|
blob
|
history
diff --git
a/client_test.go
b/client_test.go
index 49b4d1ecfbaf20ec3c69d8ddc54f7c43ed0ba5de..6c1b3028497bd009232361e8464a0ee73865f425 100644
(file)
--- 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) {