test: add an integration test for rename stash

This commit is contained in:
Ryooooooga 2022-10-15 11:57:19 +09:00
parent eceb3a5aa6
commit e78e829e3a
No known key found for this signature in database
GPG key ID: 07CF200DFCC20C25
23 changed files with 66 additions and 0 deletions

View file

@ -111,3 +111,8 @@ func (s *Shell) CreateNCommits(n int) *Shell {
return s
}
func (s *Shell) StashWithMessage(message string) *Shell {
s.RunCommand(fmt.Sprintf(`git stash -m "%s"`, message))
return s
}