2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

testcase updated

This commit is contained in:
Tobias Klein 2017-09-09 14:58:07 +02:00
parent 81d7ecba2b
commit f26c0cb70f

View File

@ -354,7 +354,7 @@ func TestArchiveNameCollision(t *testing.T) {
arch := archiver.New(repo)
sn, id, err := arch.Snapshot(context.TODO(), nil, []string{"testfile", filepath.Join("..", "testfile")}, nil, "localhost", nil)
sn, id, err := arch.Snapshot(context.TODO(), nil, []string{"testfile", filepath.Join("..", "testfile")}, nil, "localhost", nil, time.Now())
OK(t, err)
t.Logf("snapshot archived as %v", id)