(c *C)
| 1782 | } |
| 1783 | |
| 1784 | func (s *RepositorySuite) TestPushNonExistentRemote(c *C) { |
| 1785 | srcFs := fixtures.Basic().One().DotGit() |
| 1786 | sto := filesystem.NewStorage(srcFs, cache.NewObjectLRUDefault()) |
| 1787 | |
| 1788 | r, err := Open(sto, srcFs) |
| 1789 | c.Assert(err, IsNil) |
| 1790 | |
| 1791 | err = r.Push(&PushOptions{RemoteName: "myremote"}) |
| 1792 | c.Assert(err, ErrorMatches, ".*remote not found.*") |
| 1793 | } |
| 1794 | |
| 1795 | func (s *RepositorySuite) TestLog(c *C) { |
| 1796 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected