diff options
Diffstat (limited to 'objects_test.go')
-rw-r--r-- | objects_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/objects_test.go b/objects_test.go index 1ed35f8..7d86b1c 100644 --- a/objects_test.go +++ b/objects_test.go @@ -19,11 +19,8 @@ var _ = Suite(&ObjectsSuite{}) func (s *ObjectsSuite) SetUpTest(c *C) { s.BaseSuite.SetUpTest(c) - var err error - s.r, err = NewMemoryRepository() - c.Assert(err, IsNil) - - err = s.r.Clone(&RepositoryCloneOptions{URL: RepositoryFixture}) + s.r = NewMemoryRepository() + err := s.r.Clone(&CloneOptions{URL: RepositoryFixture}) c.Assert(err, IsNil) } |