(c *C)
| 410 | } |
| 411 | |
| 412 | func (s *PublishedStorageSuite) TestFileExists(c *C) { |
| 413 | s.PutFile(c, "a/b", []byte("test")) |
| 414 | |
| 415 | exists, err := s.storage.FileExists("a/b") |
| 416 | c.Check(err, IsNil) |
| 417 | c.Check(exists, Equals, true) |
| 418 | |
| 419 | exists, _ = s.storage.FileExists("a/b.invalid") |
| 420 | // Comment out as there is an error in s3test implementation |
| 421 | // c.Check(err, IsNil) |
| 422 | c.Check(exists, Equals, false) |
| 423 | } |
nothing calls this directly
no test coverage detected