(c *C)
| 1986 | } |
| 1987 | |
| 1988 | func (s *RepositorySuite) TestLogError(c *C) { |
| 1989 | r, _ := Init(memory.NewStorage(), nil) |
| 1990 | err := r.clone(context.Background(), &CloneOptions{ |
| 1991 | URL: s.GetBasicLocalRepositoryURL(), |
| 1992 | }) |
| 1993 | |
| 1994 | c.Assert(err, IsNil) |
| 1995 | |
| 1996 | _, err = r.Log(&LogOptions{ |
| 1997 | From: plumbing.NewHash("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), |
| 1998 | }) |
| 1999 | c.Assert(err, NotNil) |
| 2000 | } |
| 2001 | |
| 2002 | func (s *RepositorySuite) TestLogFileNext(c *C) { |
| 2003 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected