(c *C)
| 390 | } |
| 391 | |
| 392 | func (s *SubmoduleSuite) TestRepositoryRelativeURLNoParentRemote(c *C) { |
| 393 | sm := newSubmoduleForRelativeURL(c, "", "basic", "../X.git") |
| 394 | |
| 395 | _, err := sm.Repository() |
| 396 | c.Assert(err, NotNil) |
| 397 | c.Assert(err, ErrorMatches, `resolving relative submodule URL: remote "origin" not found`) |
| 398 | } |
| 399 | |
| 400 | func (s *SubmoduleSuite) TestDefaultRemote(c *C) { |
| 401 | type testCase struct { |
nothing calls this directly
no test coverage detected