(c *C)
| 3144 | } |
| 3145 | |
| 3146 | func (s *RepositorySuite) TestWorktree(c *C) { |
| 3147 | def := memfs.New() |
| 3148 | r, _ := Init(memory.NewStorage(), def) |
| 3149 | w, err := r.Worktree() |
| 3150 | c.Assert(err, IsNil) |
| 3151 | c.Assert(w.Filesystem, Equals, def) |
| 3152 | } |
| 3153 | |
| 3154 | func (s *RepositorySuite) TestWorktreeBare(c *C) { |
| 3155 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected