diff --git a/pkg/integration/components/shell.go b/pkg/integration/components/shell.go index cb21c0c01..6ff7dac34 100644 --- a/pkg/integration/components/shell.go +++ b/pkg/integration/components/shell.go @@ -196,11 +196,6 @@ func (self *Shell) CreateNCommitsStartingAt(n, startIndex int) *Shell { return self } -func (self *Shell) StashWithMessage(message string) *Shell { - self.RunCommand([]string{"git", "stash", "-m", message}) - return self -} - func (self *Shell) SetConfig(key string, value string) *Shell { self.RunCommand([]string{"git", "config", "--local", key, value}) return self diff --git a/pkg/integration/tests/stash/rename.go b/pkg/integration/tests/stash/rename.go index 9a079c9db..eb57fa654 100644 --- a/pkg/integration/tests/stash/rename.go +++ b/pkg/integration/tests/stash/rename.go @@ -14,9 +14,9 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{ shell. EmptyCommit("blah"). CreateFileAndAdd("file-1", "change to stash1"). - StashWithMessage("foo"). + Stash("foo"). CreateFileAndAdd("file-2", "change to stash2"). - StashWithMessage("bar") + Stash("bar") }, Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Views().Stash().