Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
repository: oops, fix the prune test
Browse files Browse the repository at this point in the history
  • Loading branch information
strib committed Nov 30, 2017
1 parent 88acc31 commit c2e6b5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prune_test.go
Expand Up @@ -18,7 +18,7 @@ type PruneSuite struct {

var _ = Suite(&PruneSuite{})

func (s *PruneSuite) TestPrune(c *C, deleteTime time.Time) {
func (s *PruneSuite) testPrune(c *C, deleteTime time.Time) {
srcFs := fixtures.ByTag("unpacked").One().DotGit()
var sto storage.Storer
var err error
Expand Down Expand Up @@ -46,7 +46,8 @@ func (s *PruneSuite) TestPrune(c *C, deleteTime time.Time) {
c.Assert(err, IsNil)

err = r.Prune(PruneOptions{
Handler: r.DeleteObject,
OnlyObjectsOlderThan: deleteTime,
Handler: r.DeleteObject,
})
c.Assert(err, IsNil)

Expand Down

0 comments on commit c2e6b5d

Please sign in to comment.