forked from TrueCloudLab/restic
Correct filenames for expire policy tests
This commit is contained in:
parent
bf6602bc1b
commit
3975d76f23
20 changed files with 1 additions and 1 deletions
|
@ -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 a new issue