(c *C)
| 1954 | } |
| 1955 | |
| 1956 | func (s *RepositorySuite) TestLogError(c *C) { |
| 1957 | r, _ := Init(memory.NewStorage(), nil) |
| 1958 | err := r.clone(context.Background(), &CloneOptions{ |
| 1959 | URL: s.GetBasicLocalRepositoryURL(), |
| 1960 | }) |
| 1961 | |
| 1962 | c.Assert(err, IsNil) |
| 1963 | |
| 1964 | _, err = r.Log(&LogOptions{ |
| 1965 | From: plumbing.NewHash("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), |
| 1966 | }) |
| 1967 | c.Assert(err, NotNil) |
| 1968 | } |
| 1969 | |
| 1970 | func (s *RepositorySuite) TestLogFileNext(c *C) { |
| 1971 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected