diff options
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/repository_test.go b/repository_test.go index c2b2ff2..2539a0b 100644 --- a/repository_test.go +++ b/repository_test.go @@ -95,12 +95,6 @@ func (s *RepositorySuite) TestClone(c *C) { c.Assert(branch, NotNil) c.Assert(branch.Hash().String(), Equals, "6ecf0ef2c2dffb796033e5a02219af86ec6584e5") - branch, err = r.Ref("refs/remotes/origin/HEAD", false) - c.Assert(err, IsNil) - c.Assert(branch, NotNil) - c.Assert(branch.Type(), Equals, core.SymbolicReference) - c.Assert(branch.Target().String(), Equals, "refs/remotes/origin/master") - branch, err = r.Ref("refs/remotes/origin/master", false) c.Assert(err, IsNil) c.Assert(branch, NotNil) @@ -182,12 +176,6 @@ func (s *RepositorySuite) TestCloneSingleBranch(c *C) { c.Assert(branch, NotNil) c.Assert(branch.Hash().String(), Equals, "6ecf0ef2c2dffb796033e5a02219af86ec6584e5") - branch, err = r.Ref("refs/remotes/origin/HEAD", false) - c.Assert(err, IsNil) - c.Assert(branch, NotNil) - c.Assert(branch.Type(), Equals, core.SymbolicReference) - c.Assert(branch.Target().String(), Equals, "refs/remotes/origin/master") - branch, err = r.Ref("refs/remotes/origin/master", false) c.Assert(err, IsNil) c.Assert(branch, NotNil) |