(c *C)
| 65 | } |
| 66 | |
| 67 | func (s *RefSpecSuite) TestRefSpecIsExactSHA1(c *C) { |
| 68 | spec := RefSpec("foo:refs/heads/master") |
| 69 | c.Assert(spec.IsExactSHA1(), Equals, false) |
| 70 | |
| 71 | spec = RefSpec("12039e008f9a4e3394f3f94f8ea897785cb09448:refs/heads/foo") |
| 72 | c.Assert(spec.IsExactSHA1(), Equals, true) |
| 73 | } |
| 74 | |
| 75 | func (s *RefSpecSuite) TestRefSpecSrc(c *C) { |
| 76 | spec := RefSpec("refs/heads/*:refs/remotes/origin/*") |
nothing calls this directly
no test coverage detected