(c *C)
| 2181 | } |
| 2182 | |
| 2183 | func (s *WorktreeSuite) TestAddGlobErrorNoMatches(c *C) { |
| 2184 | r, _ := Init(memory.NewStorage(), memfs.New()) |
| 2185 | w, _ := r.Worktree() |
| 2186 | |
| 2187 | err := w.AddGlob("foo") |
| 2188 | c.Assert(err, Equals, ErrGlobNoMatches) |
| 2189 | } |
| 2190 | |
| 2191 | func (s *WorktreeSuite) TestAddSkipStatusAddedPath(c *C) { |
| 2192 | fs := memfs.New() |
nothing calls this directly
no test coverage detected