Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Apr 6, 2023
1 parent 8caa9d2 commit bba0a5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/GitVersion.Core.Tests/IntegrationTests/OtherScenarios.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ public void EnsureTrackMergeTargetStrategyWhichWillLookForTaggedMergecommits(boo
{
// * 9daa6ea 53 minutes ago (HEAD -> develop)
// | * 85536f2 55 minutes ago (tag: 1.1.0, main)
// | |\
// | |/
// |/|
// | |\
// | |/
// |/|
// * | 4a5ef1a 56 minutes ago
// |/
// |/
// * c7f68af 58 minutes ago (tag: 1.0.0)

var configuration = GitFlowConfigurationBuilder.New
Expand Down Expand Up @@ -1046,7 +1046,7 @@ public void EnsureThePreReleaseTagIsCorrectlyGeneratedWhenPreReleaseLabelIsEmpty
using var fixture = new EmptyRepositoryFixture("main");
fixture.Repository.MakeCommits(5);

var variables = fixture.GetVersion(configuration);
var _ = fixture.GetVersion(configuration);

fixture.AssertFullSemver("0.0.1-5", configuration);
}
Expand Down
1 change: 0 additions & 1 deletion src/GitVersion.Core/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,4 @@ public static bool IsEquivalentTo(this string self, string? other) =>

public static string WithPrefixIfNotNullOrEmpty(this string value, string prefix)
=> string.IsNullOrEmpty(value) ? value : prefix + value;

}

0 comments on commit bba0a5d

Please sign in to comment.