(c *C)
| 98 | } |
| 99 | |
| 100 | func (s *SubmoduleSuite) TestUpdateWithoutInit(c *C) { |
| 101 | sm, err := s.Worktree.Submodule("basic") |
| 102 | c.Assert(err, IsNil) |
| 103 | |
| 104 | err = sm.Update(&SubmoduleUpdateOptions{}) |
| 105 | c.Assert(err, Equals, ErrSubmoduleNotInitialized) |
| 106 | } |
| 107 | |
| 108 | func (s *SubmoduleSuite) TestUpdateWithNotFetch(c *C) { |
| 109 | sm, err := s.Worktree.Submodule("basic") |