mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
ignore drive name in windows environments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user