(c *C)
| 145 | } |
| 146 | |
| 147 | func (s *RefSpecSuite) TestRefSpecDst(c *C) { |
| 148 | spec := RefSpec("refs/heads/master:refs/remotes/origin/master") |
| 149 | c.Assert( |
| 150 | spec.Dst(plumbing.ReferenceName("refs/heads/master")).String(), Equals, |
| 151 | "refs/remotes/origin/master", |
| 152 | ) |
| 153 | } |
| 154 | |
| 155 | func (s *RefSpecSuite) TestRefSpecDstBlob(c *C) { |
| 156 | ref := "refs/heads/abc" |
nothing calls this directly
no test coverage detected