MCPcopy Create free account
hub / github.com/go-git/go-git / TestOpenNotExists

Method TestOpenNotExists

repository_test.go:220–224  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

218}
219
220func (s *RepositorySuite) TestOpenNotExists(c *C) {
221 r, err := Open(memory.NewStorage(), nil)
222 c.Assert(err, Equals, ErrRepositoryNotExists)
223 c.Assert(r, IsNil)
224}
225
226func (s *RepositorySuite) TestClone(c *C) {
227 r, err := Clone(memory.NewStorage(), nil, &CloneOptions{

Callers

nothing calls this directly

Calls 2

NewStorageFunction · 0.92
OpenFunction · 0.85

Tested by

no test coverage detected