Skip to content

Commit

Permalink
fix for linux+mac
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania committed Nov 3, 2021
1 parent c3ebbe2 commit ab96e7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void Can_Load_Language_Xml_Files()
private static DirectoryInfo GetLanguageDirectory()
{
var testDirectoryPathParts = Path.GetDirectoryName(TestContext.CurrentContext.TestDirectory)
.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries);
.Split(new[] { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries);
var solutionDirectoryPathParts = testDirectoryPathParts
.Take(Array.IndexOf(testDirectoryPathParts, "tests"));
var languageFolderPathParts = new List<string>(solutionDirectoryPathParts);
Expand Down

0 comments on commit ab96e7c

Please sign in to comment.