(c *C)
| 89 | } |
| 90 | |
| 91 | func (s *SubmoduleSuite) TestRepositoryWithoutInit(c *C) { |
| 92 | sm, err := s.Worktree.Submodule("basic") |
| 93 | c.Assert(err, IsNil) |
| 94 | |
| 95 | r, err := sm.Repository() |
| 96 | c.Assert(err, Equals, ErrSubmoduleNotInitialized) |
| 97 | c.Assert(r, IsNil) |
| 98 | } |
| 99 | |
| 100 | func (s *SubmoduleSuite) TestUpdateWithoutInit(c *C) { |
| 101 | sm, err := s.Worktree.Submodule("basic") |
nothing calls this directly
no test coverage detected