From 60714eb89a18d03a64f160227c338678a847751e Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 3 Aug 2023 21:35:49 -0700 Subject: [PATCH] Fix agnostic path in test --- .../RootFolderTests/GetBestRootFolderPathFixture.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core.Test/RootFolderTests/GetBestRootFolderPathFixture.cs b/src/NzbDrone.Core.Test/RootFolderTests/GetBestRootFolderPathFixture.cs index 5baa71218..1b46cf08e 100644 --- a/src/NzbDrone.Core.Test/RootFolderTests/GetBestRootFolderPathFixture.cs +++ b/src/NzbDrone.Core.Test/RootFolderTests/GetBestRootFolderPathFixture.cs @@ -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"); } } }