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

Method SetUpTest

worktree_test.go:46–49  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

44var _ = Suite(&WorktreeSuite{})
45
46func (s *WorktreeSuite) SetUpTest(c *C) {
47 f := fixtures.Basic().One()
48 s.Repository = s.NewRepositoryWithEmptyWorktree(f)
49}
50
51func (s *WorktreeSuite) TestPullCheckout(c *C) {
52 fs := memfs.New()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected