]> Sergey Matveev's repositories - btrtrc.git/blobdiff - storage/issue95_test.go
Track completion known to implementation state
[btrtrc.git] / storage / issue95_test.go
index bb2c2fe9a3f19ec350db6a271e2f03d436800a64..d47410dae3c287c56c9b2d6bb66a4f309f75cc3a 100644 (file)
@@ -29,7 +29,7 @@ func testIssue95(t *testing.T, c ClientImpl) {
        require.NoError(t, err)
        t2p := t2.Piece(i2.Piece(0))
        assert.NoError(t, t1.Close())
-       assert.NotPanics(t, func() { t2p.GetIsComplete() })
+       assert.NotPanics(t, func() { t2p.Completion() })
 }
 
 func TestIssue95File(t *testing.T) {