Skip to content

Commit

Permalink
Fixed comment on ToLower
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisTerje committed Jul 30, 2019
1 parent 00e3525 commit 7419749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NUnitTestAdapter/NUnitTestAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ private void SetCurrentWorkingDirectory()
/// </summary>
public bool CheckDirectory(string dir)
{
var checkdir = (dir.EndsWith("\\") ? dir : dir + "\\").ToLower();
return ForbiddenFolders.Any(o => checkdir.StartsWith(o));
var checkdir = (dir.EndsWith("\\") ? dir : dir + "\\");
return ForbiddenFolders.Any(o => checkdir.StartsWith(o, StringComparison.OrdinalIgnoreCase));
}

protected ITestRunner GetRunnerFor(string assemblyName)
Expand Down

0 comments on commit 7419749

Please sign in to comment.