File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ public void CanTellIfTheBlobContentLooksLikeBinary()
222222
223223 private static void SkipIfNotSupported ( string autocrlf )
224224 {
225- InconclusiveIf ( ( ) => autocrlf == "true" && IsRunningOnLinux ( ) , "Non-Windows does not support core.autocrlf = true" ) ;
225+ InconclusiveIf ( ( ) => autocrlf == "true" && IsRunningOnUnix ( ) , "Non-Windows does not support core.autocrlf = true" ) ;
226226 }
227227 }
228228}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public void CanProbeForNativeBinariesFromAShadowCopiedAssembly()
6262 string cachedAssembliesPath = Path . Combine ( setup . CachePath , setup . ApplicationName ) ;
6363 Assert . True ( cachedAssemblyLocation . StartsWith ( cachedAssembliesPath ) ) ;
6464
65- if ( ! IsRunningOnLinux ( ) )
65+ if ( ! IsRunningOnUnix ( ) )
6666 {
6767 // ...that this cache doesn't contain the `NativeBinaries` folder
6868 string cachedAssemblyParentPath = Path . GetDirectoryName ( cachedAssemblyLocation ) ;
Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ private static bool IsFileSystemCaseSensitiveInternal()
9191 return ! isInsensitive ;
9292 }
9393
94- // Should match LibGit2Sharp.Core.NativeMethods.IsRunningOnLinux ()
95- protected static bool IsRunningOnLinux ( )
94+ // Should match LibGit2Sharp.Core.NativeMethods.IsRunningOnUnix ()
95+ protected static bool IsRunningOnUnix ( )
9696 {
9797 // see http://mono-project.com/FAQ%3a_Technical#Mono_Platforms
9898 var p = ( int ) Environment . OSVersion . Platform ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ internal static void RemoveHandle()
6464
6565 static NativeMethods ( )
6666 {
67- if ( ! IsRunningOnLinux ( ) )
67+ if ( ! IsRunningOnUnix ( ) )
6868 {
6969 string originalAssemblypath = new Uri ( Assembly . GetExecutingAssembly ( ) . EscapedCodeBase ) . LocalPath ;
7070
@@ -94,8 +94,8 @@ public static string ProcessorArchitecture
9494 }
9595 }
9696
97- // Should match LibGit2Sharp.Tests.TestHelpers.BaseFixture.IsRunningOnLinux ()
98- private static bool IsRunningOnLinux ( )
97+ // Should match LibGit2Sharp.Tests.TestHelpers.BaseFixture.IsRunningOnUnix ()
98+ private static bool IsRunningOnUnix ( )
9999 {
100100 // see http://mono-project.com/FAQ%3a_Technical#Mono_Platforms
101101 var p = ( int ) Environment . OSVersion . Platform ;
You can’t perform that action at this time.
0 commit comments