Skip to content

Commit 3e5560c

Browse files
author
Chris McDonnell
committed
fixup! Add unambigious refs/ prefix to all stash references
1 parent 623503b commit 3e5560c

File tree

6 files changed

+13
-0
lines changed

6 files changed

+13
-0
lines changed

pkg/integration/tests/stash/apply.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var Apply = NewIntegrationTest(NewIntegrationTestArgs{
1212
SetupConfig: func(config *config.AppConfig) {},
1313
SetupRepo: func(shell *Shell) {
1414
shell.EmptyCommit("initial commit")
15+
shell.NewBranch("stash")
16+
shell.Checkout("master")
1517
shell.CreateFile("file", "content")
1618
shell.GitAddAll()
1719
shell.Stash("stash one")

pkg/integration/tests/stash/create_branch.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var CreateBranch = NewIntegrationTest(NewIntegrationTestArgs{
1212
SetupConfig: func(config *config.AppConfig) {},
1313
SetupRepo: func(shell *Shell) {
1414
shell.EmptyCommit("initial commit")
15+
shell.NewBranch("stash")
16+
shell.Checkout("master")
1517
shell.CreateFile("myfile", "content")
1618
shell.GitAddAll()
1719
shell.Stash("stash one")
@@ -39,6 +41,7 @@ var CreateBranch = NewIntegrationTest(NewIntegrationTestArgs{
3941
Lines(
4042
Contains("new_branch").IsSelected(),
4143
Contains("master"),
44+
Contains("stash"),
4245
).
4346
PressEnter()
4447

pkg/integration/tests/stash/drop.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var Drop = NewIntegrationTest(NewIntegrationTestArgs{
1212
SetupConfig: func(config *config.AppConfig) {},
1313
SetupRepo: func(shell *Shell) {
1414
shell.EmptyCommit("initial commit")
15+
shell.NewBranch("stash")
16+
shell.Checkout("master")
1517
shell.CreateFile("file", "content")
1618
shell.GitAddAll()
1719
shell.Stash("stash one")

pkg/integration/tests/stash/pop.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var Pop = NewIntegrationTest(NewIntegrationTestArgs{
1212
SetupConfig: func(config *config.AppConfig) {},
1313
SetupRepo: func(shell *Shell) {
1414
shell.EmptyCommit("initial commit")
15+
shell.NewBranch("stash")
16+
shell.Checkout("master")
1517
shell.CreateFile("file", "content")
1618
shell.GitAddAll()
1719
shell.Stash("stash one")

pkg/integration/tests/stash/rename.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{
1313
SetupRepo: func(shell *Shell) {
1414
shell.
1515
EmptyCommit("blah").
16+
NewBranch("stash").
17+
Checkout("master").
1618
CreateFileAndAdd("file-1", "change to stash1").
1719
Stash("foo").
1820
CreateFileAndAdd("file-2", "change to stash2").

pkg/integration/tests/stash/stash.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ var Stash = NewIntegrationTest(NewIntegrationTestArgs{
1212
SetupConfig: func(config *config.AppConfig) {},
1313
SetupRepo: func(shell *Shell) {
1414
shell.EmptyCommit("initial commit")
15+
shell.NewBranch("stash")
16+
shell.Checkout("master")
1517
shell.CreateFile("file", "content")
1618
shell.GitAddAll()
1719
},

0 commit comments

Comments
 (0)