(c *C)
| 53 | } |
| 54 | |
| 55 | func (s *LoaderSuite) TestLoadNonExistent(c *C) { |
| 56 | sto, err := DefaultLoader.Load(s.endpoint(c, "does-not-exist")) |
| 57 | c.Assert(err, Equals, transport.ErrRepositoryNotFound) |
| 58 | c.Assert(sto, IsNil) |
| 59 | } |
| 60 | |
| 61 | func (s *LoaderSuite) TestLoadNonExistentIgnoreHost(c *C) { |
| 62 | sto, err := DefaultLoader.Load(s.endpoint(c, "https://github.com/does-not-exist")) |