diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-13 17:31:14 +0900 |
|---|---|---|
| committer | dkanada <dkanada@users.noreply.github.com> | 2020-01-13 17:31:14 +0900 |
| commit | d461f46befb06dae742ab523a3b28dadbff853f3 (patch) | |
| tree | ec8ce987584dc0e83425a806fcec069d2436801a /tests/Jellyfin.Server.Implementations.Tests/IO | |
| parent | 9eac19c75ad9c69c0c30ae90c0772856e7b0ce9e (diff) | |
ignore drive name in windows environments
Diffstat (limited to 'tests/Jellyfin.Server.Implementations.Tests/IO')
| -rw-r--r-- | tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs b/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs index 182c70998..de227cd85 100644 --- a/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs +++ b/tests/Jellyfin.Server.Implementations.Tests/IO/ManagedFileSystemTests.cs @@ -31,7 +31,7 @@ namespace Jellyfin.Server.Implementations.Tests.IO if (MediaBrowser.Common.System.OperatingSystem.Id == OperatingSystemId.Windows) { - var expectedWindowsPath = "d:" + expectedAbsolutePath.Replace('/', '\\'); + var expectedWindowsPath = expectedAbsolutePath.Replace('/', '\\').Split(':')[1]; Assert.Equal(expectedWindowsPath, generatedPath); } else |
