Skip to content

Commit ab96e7c

Browse files
committed
fix for linux+mac
1 parent c3ebbe2 commit ab96e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Umbraco.Tests.UnitTests/Umbraco.Core/Configurations/LanguageXmlTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void Can_Load_Language_Xml_Files()
3030
private static DirectoryInfo GetLanguageDirectory()
3131
{
3232
var testDirectoryPathParts = Path.GetDirectoryName(TestContext.CurrentContext.TestDirectory)
33-
.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries);
33+
.Split(new[] { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries);
3434
var solutionDirectoryPathParts = testDirectoryPathParts
3535
.Take(Array.IndexOf(testDirectoryPathParts, "tests"));
3636
var languageFolderPathParts = new List<string>(solutionDirectoryPathParts);

0 commit comments

Comments
 (0)