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

Method TestNumParents

plumbing/object/commit_test.go:290–292  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

288}
289
290func (s *SuiteCommit) TestNumParents(c *C) {
291 c.Assert(s.Commit.NumParents(), Equals, 2)
292}
293
294func (s *SuiteCommit) TestString(c *C) {
295 c.Assert(s.Commit.String(), Equals, ""+

Callers

nothing calls this directly

Calls 1

NumParentsMethod · 0.65

Tested by

no test coverage detected