File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
pkg/integration/tests/branch Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ var MoveCommitsToNewBranchKeepStacked = NewIntegrationTest(NewIntegrationTestArg
99 Description : "Create a new branch from the commits that you accidentally made on the wrong branch; choosing stacked on current branch" ,
1010 ExtraCmdArgs : []string {},
1111 Skip : false ,
12- SetupConfig : func (config * config.AppConfig ) {},
12+ SetupConfig : func (config * config.AppConfig ) {
13+ config .GetUserConfig ().Git .BranchPrefix = "myprefix/"
14+ },
1315 SetupRepo : func (shell * Shell ) {
1416 shell .EmptyCommit ("initial commit" )
1517 shell .CloneIntoRemote ("origin" )
@@ -47,7 +49,7 @@ var MoveCommitsToNewBranchKeepStacked = NewIntegrationTest(NewIntegrationTestArg
4749
4850 t .Views ().Branches ().
4951 Lines (
50- Contains ("new-branch" ).DoesNotContain ("↑" ).IsSelected (),
52+ Contains ("myprefix/ new-branch" ).DoesNotContain ("↑" ).IsSelected (),
5153 Contains ("feature ✓" ),
5254 Contains ("master ✓" ),
5355 )
You can’t perform that action at this time.
0 commit comments