]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove duplicate seeder stat test assertions
authorMatt Joiner <anacrolix@gmail.com>
Tue, 12 Jul 2016 08:09:24 +0000 (18:09 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 12 Jul 2016 08:09:24 +0000 (18:09 +1000)
client_test.go

index 9a75a47d847cb7c963268a57609c0053241688b0..82e52f983c1c7cfea76309f726eb519192295d07 100644 (file)
@@ -385,8 +385,6 @@ func testClientTransfer(t *testing.T, ps testClientTransferParams) {
        }
        assertReadAllGreeting(t, r)
        // After one read through, we can assume certain torrent statistics.
-       assert.EqualValues(t, 13, seederTorrent.Stats().DataBytesWritten)
-       assert.EqualValues(t, 8, seederTorrent.Stats().ChunksWritten)
        // These are not a strict requirement. It is however interesting to
        // follow.
        t.Logf("%#v", seederTorrent.Stats())