@@ -19,7 +19,7 @@ public void CanGetMinimumCompiledInFeatures()
1919 public void CanRetrieveValidVersionString ( )
2020 {
2121 // Version string format is:
22- // Major.Minor.Patch[-preDateTime]-LibGit2Sharp_abbrev_hash-libgit2_abbrev_hash (x86|amd64 - features)
22+ // Major.Minor.Patch[-preDateTime]-LibGit2Sharp_abbrev_hash-libgit2_abbrev_hash (x86|x64 - features)
2323 // Example output:
2424 // "0.17.0[-pre20170914123547]-deadcafe-06d772d (x86 - Threads, Https)"
2525
@@ -29,7 +29,7 @@ public void CanRetrieveValidVersionString()
2929 // version: '0.17.0[-pre20170914123547]' LibGit2Sharp version number.
3030 // git2SharpHash:'unknown' ( when compiled from source ) else LibGit2Sharp library hash.
3131 // git2hash: '06d772d' LibGit2 library hash.
32- // arch: 'x86' or 'amd64 ' LibGit2 target.
32+ // arch: 'x86' or 'x64 ' LibGit2 target.
3333 // git2Features: 'Threads, Ssh' LibGit2 features compiled with.
3434 string regex = @"^(?<version>\d{1,}\.\d{1,2}\.\d{1,3}(-(pre|dev)\d{14})?)-(?<git2SharpHash>\w+)-(?<git2Hash>\w+) \((?<arch>\w+) - (?<git2Features>(?:\w*(?:, )*\w+)*)\)$" ;
3535
@@ -38,7 +38,7 @@ public void CanRetrieveValidVersionString()
3838 Match regexResult = Regex . Match ( versionInfo , regex ) ;
3939
4040 Assert . True ( regexResult . Success , "The following version string format is enforced:" +
41- "Major.Minor.Patch[-preDateTime]-LibGit2Sharp_abbrev_hash-libgit2_abbrev_hash (x86|amd64 - features)" ) ;
41+ "Major.Minor.Patch[-preDateTime]-LibGit2Sharp_abbrev_hash-libgit2_abbrev_hash (x86|x64 - features)" ) ;
4242
4343 GroupCollection matchGroups = regexResult . Groups ;
4444
0 commit comments