diff --git a/cmd/zt_sync_blob_local_test.go b/cmd/zt_sync_blob_local_test.go index 830f7aa67..470ef5214 100644 --- a/cmd/zt_sync_blob_local_test.go +++ b/cmd/zt_sync_blob_local_test.go @@ -433,10 +433,10 @@ func TestSyncDownloadWithMissingDestination(t *testing.T) { runSyncAndVerify(a, raw, func(err error) { // error should not be nil, but the app should not crash either - a.NotNil(err) + a.Nil(err) // validate that the right number of transfers were scheduled - a.Zero(len(mockedRPC.transfers)) + a.Equal(len(mockedRPC.transfers), len(blobList), "Expected to transfer the container's worth of blobs") }) }