mirror of
https://github.com/octoleo/restic.git
synced 2024-11-10 23:31:09 +00:00
Correct filenames for expire policy tests
This commit is contained in:
parent
bf6602bc1b
commit
3975d76f23
@ -239,7 +239,7 @@ func TestApplyPolicy(t *testing.T) {
|
|||||||
t.Logf("test %d: forget snapshot at %v %s\n", i, sn.Time, sn.Tags)
|
t.Logf("test %d: forget snapshot at %v %s\n", i, sn.Time, sn.Tags)
|
||||||
}
|
}
|
||||||
|
|
||||||
goldenFilename := filepath.Join("testdata", fmt.Sprintf("expired_snapshots_%d", i))
|
goldenFilename := filepath.Join("testdata", fmt.Sprintf("policy_keep_snapshots_%d", i))
|
||||||
|
|
||||||
if *updateGoldenFiles {
|
if *updateGoldenFiles {
|
||||||
buf, err := json.MarshalIndent(keep, "", " ")
|
buf, err := json.MarshalIndent(keep, "", " ")
|
||||||
|
Loading…
Reference in New Issue
Block a user