Skip to content

Commit

Permalink
Correct testing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
adreed-msft committed Jan 22, 2025
1 parent 2c92f31 commit 328b9aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/zt_sync_blob_local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
}

Expand Down

0 comments on commit 328b9aa

Please sign in to comment.