more cleanup

This commit is contained in:
Florian Weingarten
2015-04-29 21:41:51 -04:00
parent 7af7c64403
commit 0d9360a815
7 changed files with 18 additions and 33 deletions
+1 -2
View File
@@ -16,8 +16,7 @@ func TestCache(t *testing.T) {
_, err := restic.NewCache(server)
OK(t, err)
arch, err := restic.NewArchiver(server)
OK(t, err)
arch := restic.NewArchiver(server)
// archive some files, this should automatically cache all blobs from the snapshot
_, _, err = arch.Snapshot(nil, []string{*benchArchiveDirectory}, nil)