The final value passed to Chdir() during setup will be the directory the test is run from.
(path string)
| 512 | // The final value passed to Chdir() during setup |
| 513 | // will be the directory the test is run from. |
| 514 | func (self *Shell) Chdir(path string) *Shell { |
| 515 | self.dir = filepath.Join(self.dir, path) |
| 516 | |
| 517 | return self |
| 518 | } |
| 519 | |
| 520 | func (self *Shell) SetAuthor(authorName string, authorEmail string) *Shell { |
| 521 | self.RunCommand([]string{"git", "config", "--local", "user.name", authorName}) |
no outgoing calls
no test coverage detected