1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Fixed a build error in TestUploaderAndDownloader

This commit is contained in:
Gilbert Chen
2017-07-07 17:22:59 -04:00
parent a7613ab7d9
commit 199e312bea

View File

@@ -104,7 +104,7 @@ func TestUploaderAndDownloader(t *testing.T) {
chunkDownloader := CreateChunkDownloader(config, storage, nil, true, testThreads)
chunkDownloader.totalFileSize = int64(totalFileSize)
chunkDownloader.totalChunkSize = int64(totalFileSize)
for _, chunk := range chunks {
chunkDownloader.AddChunk(chunk.GetHash())