MCPcopy Index your code
hub / github.com/go-git/go-git / TestNumParents

Method TestNumParents

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

Source from the content-addressed store, hash-verified

333}
334
335func (s *SuiteCommit) TestNumParents(c *C) {
336 c.Assert(s.Commit.NumParents(), Equals, 2)
337}
338
339func (s *SuiteCommit) TestString(c *C) {
340 c.Assert(s.Commit.String(), Equals, ""+

Callers

nothing calls this directly

Calls 1

NumParentsMethod · 0.65

Tested by

no test coverage detected