Skip to content

Commit

Permalink
Update OsSettingsResolverTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Oct 6, 2023
1 parent 162af52 commit 981bf42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DiffEngine.Tests/OsSettingsResolverTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public void EnvPath()
Assert.Equal(@"C:\Windows\System32\cmd.exe", filePath, ignoreCase: true);
}

if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)
|| RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ||
RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
var found = OsSettingsResolver.TryFindInEnvPath("sh", out var filePath);
Assert.Equal(true, found);
Expand Down

0 comments on commit 981bf42

Please sign in to comment.