Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Fixup test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmrtn committed Dec 2, 2022
1 parent bca9a36 commit 6979e84
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/internal/kopia/wrapper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -885,12 +885,7 @@ func (suite *KopiaIntegrationSuite) TestBackupCollections() {
stats, deets, err := suite.w.BackupCollections(suite.ctx, collections, path.ExchangeService)
assert.NoError(t, err)

assert.Equal(
t,
test.expectedUploadedFiles+test.expectedCachedFiles,
stats.TotalFileCount,
"total files",
)
assert.Equal(t, test.expectedUploadedFiles, stats.TotalFileCount, "total files")
assert.Equal(t, test.expectedUploadedFiles, stats.UncachedFileCount, "uncached files")
assert.Equal(t, test.expectedCachedFiles, stats.CachedFileCount, "cached files")
assert.Equal(t, 6, stats.TotalDirectoryCount)
Expand Down

0 comments on commit 6979e84

Please sign in to comment.