diff --git a/src/internal/kopia/wrapper_test.go b/src/internal/kopia/wrapper_test.go index 9f3414bd80..8abf360c90 100644 --- a/src/internal/kopia/wrapper_test.go +++ b/src/internal/kopia/wrapper_test.go @@ -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)