We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def8644 commit 39f2089Copy full SHA for 39f2089
LibGit2Sharp.Tests/GlobalSettingsFixture.cs
@@ -30,7 +30,7 @@ public void CanRetrieveValidVersionString()
30
// git2hash: '06d772d' LibGit2 library hash.
31
// arch: 'x86' or 'x64' LibGit2 target.
32
// git2Features: 'Threads, Ssh' LibGit2 features compiled with.
33
- string regex = @"^(?<version>\d+\.\d+\.\d+(-\w+)?\+(g(?<git2SharpHash>[a-f0-9]{10})\.)?LibGit2-[a-f0-9]{7}) \((?<arch>\w+) - (?<git2Features>(?:\w*(?:, )*\w+)*)\)$";
+ string regex = @"^(?<version>\d+\.\d+\.\d+(-[\w\-\.]+)?\+(g(?<git2SharpHash>[a-f0-9]{10})\.)?LibGit2-[a-f0-9]{7}) \((?<arch>\w+) - (?<git2Features>(?:\w*(?:, )*\w+)*)\)$";
34
35
Assert.NotNull(versionInfo);
36
0 commit comments