(c *C)
| 48 | } |
| 49 | |
| 50 | func (s *TempSuite) TestDownloadTempError(c *C) { |
| 51 | f, err := DownloadTemp(s.ctx, s.d, s.url+"/doesntexist") |
| 52 | c.Assert(err, NotNil) |
| 53 | c.Assert(f, IsNil) |
| 54 | c.Assert(err, ErrorMatches, "HTTP code 404.*") |
| 55 | } |
nothing calls this directly
no test coverage detected