aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-01-13 17:37:07 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-01-13 17:37:07 +0900
commit536237c35dc74205e25593667add97695a27f0f2 (patch)
tree2cefb69ea3a43850907ea9a776fe61b9939e988b /tests
parentd461f46befb06dae742ab523a3b28dadbff853f3 (diff)
move the split usage to the proper location
Diffstat (limited to 'tests')
-rw-r--r--tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs b/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
index de227cd85..e324002f0 100644
--- a/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
+++ b/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs
@@ -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
{