aboutsummaryrefslogtreecommitdiffstats
path: root/objects_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-08-22 00:30:50 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-08-22 00:30:50 +0200
commit5b13c1a2e55cb442484d9c7b45389f422b110eec (patch)
tree9be0949cb354dfd6521aa84f4af9e5777c3a1cef /objects_test.go
parentf42d82364c5d159f65a48e720433ad2bc97f0b7f (diff)
downloadgo-git-5b13c1a2e55cb442484d9c7b45389f422b110eec.tar.gz
options renamed and some text fixes
Diffstat (limited to 'objects_test.go')
-rw-r--r--objects_test.go7
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)
}