From 26495aaa4b1a3095da985f5c0d721ffcbd93662a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 29 Nov 2013 22:22:51 -0800 Subject: [PATCH] More parsing tests to ensure anime doesn't break standard episodes --- src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs index 3c27b30c4..3d25c7086 100644 --- a/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/ParserFixture.cs @@ -95,6 +95,8 @@ namespace NzbDrone.Core.Test.ParserTests [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("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) { var result = Parser.Parser.ParseTitle(postTitle);