(c *C)
| 33 | } |
| 34 | |
| 35 | func (s *LoaderSuite) TestLoadNonExistent(c *C) { |
| 36 | sto, err := DefaultLoader.Load(s.endpoint(c, "does-not-exist")) |
| 37 | c.Assert(err, Equals, transport.ErrRepositoryNotFound) |
| 38 | c.Assert(sto, IsNil) |
| 39 | } |
| 40 | |
| 41 | func (s *LoaderSuite) TestLoadNonExistentIgnoreHost(c *C) { |
| 42 | sto, err := DefaultLoader.Load(s.endpoint(c, "https://github.com/does-not-exist")) |