move the split usage to the proper location

pull/2268/head
dkanada 5 years ago
parent d461f46bef
commit 536237c35d

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

Loading…
Cancel
Save