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