mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
added test cases
This commit is contained in:
parent
a677f1139a
commit
9924c311c9
@ -114,6 +114,10 @@ var testExpireSnapshots = restic.Snapshots{
|
|||||||
{Time: parseTimeUTC("2015-10-11 10:20:30")},
|
{Time: parseTimeUTC("2015-10-11 10:20:30")},
|
||||||
{Time: parseTimeUTC("2015-10-20 10:20:30")},
|
{Time: parseTimeUTC("2015-10-20 10:20:30")},
|
||||||
{Time: parseTimeUTC("2015-10-22 10:20:30")},
|
{Time: parseTimeUTC("2015-10-22 10:20:30")},
|
||||||
|
{Time: parseTimeUTC("2015-10-22 10:20:30")},
|
||||||
|
{Time: parseTimeUTC("2015-10-22 10:20:30"), Tags: []string{"foo", "bar"}},
|
||||||
|
{Time: parseTimeUTC("2015-10-22 10:20:30"), Tags: []string{"foo", "bar"}},
|
||||||
|
{Time: parseTimeUTC("2015-10-22 10:20:30"), Tags: []string{"foo", "bar"}, Paths: []string{"path1", "path2"}},
|
||||||
{Time: parseTimeUTC("2015-11-08 10:20:30")},
|
{Time: parseTimeUTC("2015-11-08 10:20:30")},
|
||||||
{Time: parseTimeUTC("2015-11-10 10:20:30")},
|
{Time: parseTimeUTC("2015-11-10 10:20:30")},
|
||||||
{Time: parseTimeUTC("2015-11-12 10:20:30")},
|
{Time: parseTimeUTC("2015-11-12 10:20:30")},
|
||||||
|
Loading…
Reference in New Issue
Block a user