move the split usage to the proper location
This commit is contained in:
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…
Reference in New Issue
Block a user