Correct filenames for expire policy tests

This commit is contained in:
Alexander Neumann 2016-09-13 21:20:41 +02:00
parent bf6602bc1b
commit 3975d76f23
20 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ func TestApplyPolicy(t *testing.T) {
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 {
buf, err := json.MarshalIndent(keep, "", " ")