(c *C, path string, data []byte)
| 75 | } |
| 76 | |
| 77 | func (s *PublishedStorageSuite) PutFile(c *C, path string, data []byte) { |
| 78 | w := s.storage.bucket.Object(path).NewWriter(context.TODO()) |
| 79 | _, err := w.Write(data) |
| 80 | c.Assert(err, IsNil) |
| 81 | c.Assert(w.Close(), IsNil) |
| 82 | } |
| 83 | |
| 84 | func (s *PublishedStorageSuite) TestString(c *C) { |
| 85 | c.Check(s.storage.String(), Equals, "GCS: test/") |
no test coverage detected