diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-22 00:30:50 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-22 00:30:50 +0200 |
commit | 5b13c1a2e55cb442484d9c7b45389f422b110eec (patch) | |
tree | 9be0949cb354dfd6521aa84f4af9e5777c3a1cef /objects_test.go | |
parent | f42d82364c5d159f65a48e720433ad2bc97f0b7f (diff) | |
download | go-git-5b13c1a2e55cb442484d9c7b45389f422b110eec.tar.gz |
options renamed and some text fixes
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) } |