mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
AsOsAgnostic?
This commit is contained in:
parent
ec88c2c2ca
commit
6807f92f55
@ -32,7 +32,7 @@ public class PathParserFixture : CoreTest
|
||||
[TestCase(@"C:\Test\Series\Season 1\2 Honor Thy Father (1080p HD).m4v", 1, 2)]
|
||||
public void should_parse_from_path(string path, int season, int episode)
|
||||
{
|
||||
var result = Parser.Parser.ParsePath(path);
|
||||
var result = Parser.Parser.ParsePath(path.AsOsAgnostic());
|
||||
result.EpisodeNumbers.Should().HaveCount(1);
|
||||
result.SeasonNumber.Should().Be(season);
|
||||
result.EpisodeNumbers[0].Should().Be(episode);
|
||||
|
Loading…
Reference in New Issue
Block a user