Fix agnostic path in test

This commit is contained in:
Mark McDowall 2023-08-03 21:35:49 -07:00
parent 63a911a9a5
commit 60714eb89a
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
var seriesPath = "/mnt/tv/Series Title";
GivenRootFolders(@"C:\Test\TV".AsOsAgnostic(), @"D:\Test\TV".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"/mnt/tv".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"/mnt/tv");
}
[Test]
@ -59,7 +59,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
var seriesPath = @"T:\Test\TV\Series Title";
GivenRootFolders(@"C:\Test\TV".AsOsAgnostic(), @"D:\Test\TV".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"T:\Test\TV".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"T:\Test\TV");
}
}
}