(c *C)
| 1750 | } |
| 1751 | |
| 1752 | func (s *RepositorySuite) TestPushNonExistentRemote(c *C) { |
| 1753 | srcFs := fixtures.Basic().One().DotGit() |
| 1754 | sto := filesystem.NewStorage(srcFs, cache.NewObjectLRUDefault()) |
| 1755 | |
| 1756 | r, err := Open(sto, srcFs) |
| 1757 | c.Assert(err, IsNil) |
| 1758 | |
| 1759 | err = r.Push(&PushOptions{RemoteName: "myremote"}) |
| 1760 | c.Assert(err, ErrorMatches, ".*remote not found.*") |
| 1761 | } |
| 1762 | |
| 1763 | func (s *RepositorySuite) TestLog(c *C) { |
| 1764 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected