1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Tweaked parser to handle S01.Ep01.

closes #1849
This commit is contained in:
Taloth Saldono
2017-04-14 20:44:14 +02:00
parent f36d5dc881
commit 46a1ff3e2d
2 changed files with 4 additions and 3 deletions
@@ -128,6 +128,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Jeopardy - S2016E231", "Jeopardy", 2016, 231)]
[TestCase("Jeopardy - 2016x231", "Jeopardy", 2016, 231)]
[TestCase("Shortland.Street.S26E022.HDTV.x264-FiHTV", "Shortland Street", 26, 22)]
[TestCase("Super.Potatoes.S01.Ep06.1080p.BluRay.DTS.x264-MiR", "Super Potatoes", 1, 6)]
//[TestCase("", "", 0, 0)]
public void should_parse_single_episode(string postTitle, string title, int seasonNumber, int episodeNumber)
{