Skip to content

Commit d63a4e7

Browse files
author
Simon Ejsing
committed
Fix tests and rename unit test
1 parent a02af29 commit d63a4e7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/GitVersionCore.Tests/TestEffectiveConfiguration.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public TestEffectiveConfiguration(
1616
string nextVersion = null,
1717
string branchPrefixToTrim = "",
1818
bool preventIncrementForMergedBranchVersion = false,
19+
string tagNamePattern = null,
1920
string tagNumberPattern = null,
2021
string continuousDeploymentFallbackTag = "ci",
2122
bool trackMergeTarget = false,
@@ -29,7 +30,7 @@ public TestEffectiveConfiguration(
2930
IEnumerable<IVersionFilter> versionFilters = null
3031
) :
3132
base(assemblyVersioningScheme, assemblyInformationalFormat, versioningMode, gitTagPrefix, tag, nextVersion, IncrementStrategy.Patch,
32-
branchPrefixToTrim, preventIncrementForMergedBranchVersion, tagNumberPattern, continuousDeploymentFallbackTag,
33+
branchPrefixToTrim, preventIncrementForMergedBranchVersion, tagNamePattern, tagNumberPattern, continuousDeploymentFallbackTag,
3334
trackMergeTarget,
3435
majorMessage, minorMessage, patchMessage,
3536
commitMessageMode, legacySemVerPadding, buildMetaDataPadding, commitsSinceVersionSourcePadding,

src/GitVersionCore.Tests/VariableProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void ProvidesVariablesInContinuousDeploymentModeForStableWhenCurrentCommi
154154
}
155155

156156
[Test]
157-
public void ProvidesVariablesInContinuousDeploymentModeForTagNumber()
157+
public void ProvidesVariablesInContinuousDeploymentModeWithTagNamePattern()
158158
{
159159
var semVer = new SemanticVersion
160160
{

0 commit comments

Comments
 (0)