From: Matt Joiner Date: Tue, 9 Dec 2014 03:59:01 +0000 (-0600) Subject: :) X-Git-Tag: v1.0.0~1397 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=998d85ba50e25da21762a631f1a733e5b9233ddc;p=btrtrc.git :) --- diff --git a/client_test.go b/client_test.go index d5ba379d..89134328 100644 --- a/client_test.go +++ b/client_test.go @@ -61,6 +61,7 @@ func TestTorrentInitialState(t *testing.T) { t.Fatal("wrong number of pieces") } p := tor.Pieces[0] + tor.pendAllChunkSpecs(0) if len(p.PendingChunkSpecs) != 1 { t.Fatalf("should only be 1 chunk: %v", p.PendingChunkSpecs) }