(c *C)
| 215 | } |
| 216 | |
| 217 | func (s *LocalRepoCollectionSuite) TestDropNonExisting(c *C) { |
| 218 | repo := NewLocalRepo("local3", "Comment 3") |
| 219 | |
| 220 | _, err := s.collection.ByUUID(repo.UUID) |
| 221 | c.Check(err, ErrorMatches, "local repo .* not found") |
| 222 | |
| 223 | _ = s.collection.Drop(repo) |
| 224 | c.Check(s.collection.Drop(repo), ErrorMatches, "local repo not found") |
| 225 | } |
nothing calls this directly
no test coverage detected