@@ -13,7 +13,7 @@ public void WhenDevelopHasMultipleCommits_SpecifyExistingCommitId()
13
13
using ( var fixture = new EmptyRepositoryFixture ( ) )
14
14
{
15
15
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
16
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
16
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
17
17
18
18
fixture . Repository . MakeACommit ( ) ;
19
19
fixture . Repository . MakeACommit ( ) ;
@@ -31,7 +31,7 @@ public void WhenDevelopHasMultipleCommits_SpecifyNonExistingCommitId()
31
31
using ( var fixture = new EmptyRepositoryFixture ( ) )
32
32
{
33
33
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
34
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
34
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
35
35
36
36
fixture . Repository . MakeACommit ( ) ;
37
37
fixture . Repository . MakeACommit ( ) ;
@@ -49,7 +49,7 @@ public void WhenDevelopBranchedFromTaggedCommitOnMasterVersionDoesNotChange()
49
49
using ( var fixture = new EmptyRepositoryFixture ( ) )
50
50
{
51
51
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
52
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
52
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
53
53
fixture . AssertFullSemver ( "1.0.0" ) ;
54
54
}
55
55
}
@@ -72,7 +72,7 @@ public void CanChangeDevelopTagViaConfig()
72
72
using ( var fixture = new EmptyRepositoryFixture ( ) )
73
73
{
74
74
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
75
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
75
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
76
76
fixture . Repository . MakeACommit ( ) ;
77
77
fixture . AssertFullSemver ( config , "1.1.0-alpha.1" ) ;
78
78
}
@@ -84,7 +84,7 @@ public void WhenDeveloperBranchExistsDontTreatAsDevelop()
84
84
using ( var fixture = new EmptyRepositoryFixture ( ) )
85
85
{
86
86
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
87
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "developer" ) ) ;
87
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "developer" ) ) ;
88
88
fixture . Repository . MakeACommit ( ) ;
89
89
fixture . AssertFullSemver ( "1.0.1-developer.1+1" ) ; // this tag should be the branch name by default, not unstable
90
90
}
@@ -96,7 +96,7 @@ public void WhenDevelopBranchedFromMaster_MinorIsIncreased()
96
96
using ( var fixture = new EmptyRepositoryFixture ( ) )
97
97
{
98
98
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
99
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
99
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
100
100
fixture . Repository . MakeACommit ( ) ;
101
101
fixture . AssertFullSemver ( "1.1.0-alpha.1" ) ;
102
102
}
@@ -108,14 +108,14 @@ public void MergingReleaseBranchBackIntoDevelopWithMergingToMaster_DoesBumpDevel
108
108
using ( var fixture = new EmptyRepositoryFixture ( ) )
109
109
{
110
110
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
111
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
111
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
112
112
fixture . Repository . MakeACommit ( ) ;
113
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "release-2.0.0" ) ) ;
113
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "release-2.0.0" ) ) ;
114
114
fixture . Repository . MakeACommit ( ) ;
115
- Commands . Checkout ( Commands , fixture . Repository , "master" ) ;
115
+ Commands . Checkout ( fixture . Repository , "master" ) ;
116
116
fixture . Repository . MergeNoFF ( "release-2.0.0" , Generate . SignatureNow ( ) ) ;
117
117
118
- Commands . Checkout ( Commands , fixture . Repository , "develop" ) ;
118
+ Commands . Checkout ( fixture . Repository , "develop" ) ;
119
119
fixture . Repository . MergeNoFF ( "release-2.0.0" , Generate . SignatureNow ( ) ) ;
120
120
fixture . AssertFullSemver ( "2.1.0-alpha.2" ) ;
121
121
}
@@ -138,7 +138,7 @@ public void CanHandleContinuousDelivery()
138
138
using ( var fixture = new EmptyRepositoryFixture ( ) )
139
139
{
140
140
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
141
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
141
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
142
142
fixture . Repository . MakeATaggedCommit ( "1.1.0-alpha7" ) ;
143
143
fixture . AssertFullSemver ( config , "1.1.0-alpha.7" ) ;
144
144
}
@@ -150,11 +150,11 @@ public void WhenDevelopBranchedFromMasterDetachedHead_MinorIsIncreased()
150
150
using ( var fixture = new EmptyRepositoryFixture ( ) )
151
151
{
152
152
fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
153
- Commands . Checkout ( Commands , fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
153
+ Commands . Checkout ( fixture . Repository , fixture . Repository . CreateBranch ( "develop" ) ) ;
154
154
fixture . Repository . MakeACommit ( ) ;
155
155
var commit = fixture . Repository . Head . Tip ;
156
156
fixture . Repository . MakeACommit ( ) ;
157
- Commands . Checkout ( Commands , fixture . Repository , commit ) ;
157
+ Commands . Checkout ( fixture . Repository , commit ) ;
158
158
fixture . AssertFullSemver ( "1.1.0-alpha.1" ) ;
159
159
}
160
160
}
@@ -170,7 +170,7 @@ public void InheritVersionFromReleaseBranch()
170
170
fixture . BranchTo ( "release/2.0.0" ) ;
171
171
fixture . MakeACommit ( ) ;
172
172
fixture . MakeACommit ( ) ;
173
- Commands . Checkout ( fixture , "develop" ) ;
173
+ fixture . Checkout ( "develop" ) ;
174
174
fixture . AssertFullSemver ( "1.1.0-alpha.1" ) ;
175
175
fixture . MakeACommit ( ) ;
176
176
fixture . AssertFullSemver ( "2.1.0-alpha.1" ) ;
0 commit comments