Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Utilities.UnitTests/ToolTask_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ public void FindOnPathSucceeds()
string shellName;
if (NativeMethodsShared.IsWindows)
{
expectedCmdPath = new[] { Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "cmd.exe") };
expectedCmdPath = new[] { Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "cmd.exe").ToUpperInvariant() };
shellName = "cmd.exe";
}
else
Expand All @@ -692,7 +692,7 @@ public void FindOnPathSucceeds()
shellName = "sh";
}

string cmdPath = ToolTask.FindOnPath(shellName);
string cmdPath = ToolTask.FindOnPath(shellName).ToUpperInvariant();

cmdPath.ShouldBeOneOf(expectedCmdPath);
}
Expand Down