(c *C)
| 180 | } |
| 181 | |
| 182 | func (s *SubmoduleSuite) TestSubmodulesInit(c *C) { |
| 183 | sm, err := s.Worktree.Submodules() |
| 184 | c.Assert(err, IsNil) |
| 185 | |
| 186 | err = sm.Init() |
| 187 | c.Assert(err, IsNil) |
| 188 | |
| 189 | sm, err = s.Worktree.Submodules() |
| 190 | c.Assert(err, IsNil) |
| 191 | |
| 192 | for _, m := range sm { |
| 193 | c.Assert(m.initialized, Equals, true) |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | func (s *SubmoduleSuite) TestGitSubmodulesSymlink(c *C) { |
| 198 | f, err := s.Worktree.Filesystem.Create("badfile") |
nothing calls this directly
no test coverage detected