mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
More parsing tests to ensure anime doesn't break standard episodes
This commit is contained in:
parent
2bc34e2d57
commit
26495aaa4b
@ -95,6 +95,8 @@ public class ParserFixture : CoreTest
|
|||||||
[TestCase("Dont.Trust.The.B----.in.Apartment.23.S01E01", "Dont.Trust.The.B----.in.Apartment.23", 1, 1)]
|
[TestCase("Dont.Trust.The.B----.in.Apartment.23.S01E01", "Dont.Trust.The.B----.in.Apartment.23", 1, 1)]
|
||||||
[TestCase("24 S01E01", "24", 1, 1)]
|
[TestCase("24 S01E01", "24", 1, 1)]
|
||||||
[TestCase("24.S01E01", "24", 1, 1)]
|
[TestCase("24.S01E01", "24", 1, 1)]
|
||||||
|
[TestCase("Homeland - 2x12 - The Choice [HDTV-1080p].mkv", "Homeland", 2, 12)]
|
||||||
|
[TestCase("Homeland - 2x4 - New Car Smell [HDTV-1080p].mkv", "Homeland", 2, 4)]
|
||||||
public void ParseTitle_single(string postTitle, string title, int seasonNumber, int episodeNumber)
|
public void ParseTitle_single(string postTitle, string title, int seasonNumber, int episodeNumber)
|
||||||
{
|
{
|
||||||
var result = Parser.Parser.ParseTitle(postTitle);
|
var result = Parser.Parser.ParseTitle(postTitle);
|
||||||
|
Loading…
Reference in New Issue
Block a user