Skip to content

Commit

Permalink
Fix bug: always prepending "v" to TestId.Version
Browse files Browse the repository at this point in the history
  • Loading branch information
lhSunde committed Jun 2, 2021
1 parent ea3eadd commit b29774e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arkivverket.Arkade.Core/Util/TestId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public TestId(TestKind testKind, uint number, string version = default)
{
Kind = testKind;
Number = number;
Version = $"v{version}";
Version = version == default ? default : $"v{version}";
}

public static TestId Create(string testId)
Expand Down

0 comments on commit b29774e

Please sign in to comment.