From 2a048d5d8b2b25326685ba53fc390781ba96deed Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Thu, 2 Sep 2021 15:41:08 +0200 Subject: move maps inside repo --- repo_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repo_test.go') diff --git a/repo_test.go b/repo_test.go index b09f6ed..694c413 100644 --- a/repo_test.go +++ b/repo_test.go @@ -188,11 +188,11 @@ func TestBsdiff(t *testing.T) { oldChunks := make(chan StoredChunk, 16) versions := repo.loadVersions() go repo.loadChunks(versions, oldChunks) - fingerprints, sketches := repo.hashChunks(oldChunks) + repo.hashChunks(oldChunks) // Read new data reader := getDataStream(dataDir, concatFiles) - recipe := repo.matchStream(reader, fingerprints, sketches) + recipe := repo.matchStream(reader) newChunks := extractDeltaChunks(repo.mergeTempChunks(recipe)) assertLen(t, 2, newChunks, "New delta chunks:") for _, c := range newChunks { -- cgit v1.2.3