(c *C)
| 100 | } |
| 101 | |
| 102 | func (s *RemoteSuite) TestFetchExactSHA1_NotSoported(c *C) { |
| 103 | r := NewRemote(memory.NewStorage(), &config.RemoteConfig{ |
| 104 | URLs: []string{s.GetBasicLocalRepositoryURL()}, |
| 105 | }) |
| 106 | |
| 107 | err := r.Fetch(&FetchOptions{ |
| 108 | RefSpecs: []config.RefSpec{ |
| 109 | config.RefSpec("35e85108805c84807bc66a02d91535e1e24b38b9:refs/heads/foo"), |
| 110 | }, |
| 111 | }) |
| 112 | |
| 113 | c.Assert(err, Equals, ErrExactSHA1NotSupported) |
| 114 | |
| 115 | } |
| 116 | |
| 117 | func (s *RemoteSuite) TestFetchWildcardTags(c *C) { |
| 118 | r := NewRemote(memory.NewStorage(), &config.RemoteConfig{ |
nothing calls this directly
no test coverage detected