Fix agnostic path in test
This commit is contained in:
parent
63a911a9a5
commit
60714eb89a
|
@ -48,7 +48,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
|
||||||
var seriesPath = "/mnt/tv/Series Title";
|
var seriesPath = "/mnt/tv/Series Title";
|
||||||
|
|
||||||
GivenRootFolders(@"C:\Test\TV".AsOsAgnostic(), @"D:\Test\TV".AsOsAgnostic());
|
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]
|
[Test]
|
||||||
|
@ -59,7 +59,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
|
||||||
var seriesPath = @"T:\Test\TV\Series Title";
|
var seriesPath = @"T:\Test\TV\Series Title";
|
||||||
|
|
||||||
GivenRootFolders(@"C:\Test\TV".AsOsAgnostic(), @"D:\Test\TV".AsOsAgnostic());
|
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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue