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

Method SetUpSuite

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

Source from the content-addressed store, hash-verified

25var _ = Suite(&SuiteCommit{})
26
27func (s *SuiteCommit) SetUpSuite(c *C) {
28 s.BaseObjectsSuite.SetUpSuite(c)
29
30 hash := plumbing.NewHash("1669dce138d9b841a518c64b10914d88f5e488ea")
31
32 s.Commit = s.commit(c, hash)
33}
34
35func (s *SuiteCommit) TestDecodeNonCommit(c *C) {
36 hash := plumbing.NewHash("9a48f23120e880dfbe41f7c9b7b708e9ee62a492")

Callers

nothing calls this directly

Calls 2

NewHashFunction · 0.92
commitMethod · 0.80

Tested by

no test coverage detected