Skip to content

Commit c966f0d

Browse files
committed
test fallout
1 parent 44acdd4 commit c966f0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

command/pr_create_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ func TestPRCreate_defaults_error_interactive(t *testing.T) {
589589
}
590590

591591
func Test_determineTrackingBranch_empty(t *testing.T) {
592-
cs, cmdTeardown := initCmdStubber()
592+
cs, cmdTeardown := test.InitCmdStubber()
593593
defer cmdTeardown()
594594

595595
remotes := context.Remotes{}
@@ -604,7 +604,7 @@ func Test_determineTrackingBranch_empty(t *testing.T) {
604604
}
605605

606606
func Test_determineTrackingBranch_noMatch(t *testing.T) {
607-
cs, cmdTeardown := initCmdStubber()
607+
cs, cmdTeardown := test.InitCmdStubber()
608608
defer cmdTeardown()
609609

610610
remotes := context.Remotes{
@@ -631,7 +631,7 @@ deadb00f refs/remotes/origin/feature`) // git show-ref --verify (ShowRefs)
631631
}
632632

633633
func Test_determineTrackingBranch_hasMatch(t *testing.T) {
634-
cs, cmdTeardown := initCmdStubber()
634+
cs, cmdTeardown := test.InitCmdStubber()
635635
defer cmdTeardown()
636636

637637
remotes := context.Remotes{
@@ -664,7 +664,7 @@ deadbeef refs/remotes/upstream/feature`) // git show-ref --verify (ShowRefs)
664664
}
665665

666666
func Test_determineTrackingBranch_respectTrackingConfig(t *testing.T) {
667-
cs, cmdTeardown := initCmdStubber()
667+
cs, cmdTeardown := test.InitCmdStubber()
668668
defer cmdTeardown()
669669

670670
remotes := context.Remotes{

0 commit comments

Comments
 (0)