mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
testcase updated
This commit is contained in:
parent
81d7ecba2b
commit
f26c0cb70f
@ -354,7 +354,7 @@ func TestArchiveNameCollision(t *testing.T) {
|
|||||||
|
|
||||||
arch := archiver.New(repo)
|
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)
|
OK(t, err)
|
||||||
|
|
||||||
t.Logf("snapshot archived as %v", id)
|
t.Logf("snapshot archived as %v", id)
|
||||||
|
Loading…
Reference in New Issue
Block a user