move the split usage to the proper location

This commit is contained in:
dkanada 2020-01-13 17:37:07 +09:00
parent d461f46bef
commit 536237c35d

View File

@ -31,8 +31,8 @@ namespace Jellyfin.Server.Implementations.Tests.IO
if (MediaBrowser.Common.System.OperatingSystem.Id == OperatingSystemId.Windows)
{
var expectedWindowsPath = expectedAbsolutePath.Replace('/', '\\').Split(':')[1];
Assert.Equal(expectedWindowsPath, generatedPath);
var expectedWindowsPath = expectedAbsolutePath.Replace('/', '\\');
Assert.Equal(expectedWindowsPath, generatedPath.Split(':')[1]);
}
else
{