(c *C)
| 263 | } |
| 264 | |
| 265 | func (s *SubmoduleSuite) TestSubmoduleParseScp(c *C) { |
| 266 | repo := &Repository{ |
| 267 | Storer: memory.NewStorage(), |
| 268 | wt: memfs.New(), |
| 269 | } |
| 270 | worktree := &Worktree{ |
| 271 | Filesystem: memfs.New(), |
| 272 | r: repo, |
| 273 | } |
| 274 | submodule := &Submodule{ |
| 275 | initialized: true, |
| 276 | c: nil, |
| 277 | w: worktree, |
| 278 | } |
| 279 | |
| 280 | submodule.c = &config.Submodule{ |
| 281 | URL: "git@github.com:username/submodule_repo", |
| 282 | } |
| 283 | |
| 284 | _, err := submodule.Repository() |
| 285 | c.Assert(err, IsNil) |
| 286 | } |
nothing calls this directly
no test coverage detected