From 044d5ad0a57e552004b5ff642a73e1e3145ae177 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 2 Sep 2014 21:44:02 -0700 Subject: [PATCH] A couple more tests for periods at start/end of folder name --- src/NzbDrone.Core.Test/OrganizerTests/GetSeriesFolderFixture.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core.Test/OrganizerTests/GetSeriesFolderFixture.cs b/src/NzbDrone.Core.Test/OrganizerTests/GetSeriesFolderFixture.cs index 0700f37b0..3108cb438 100644 --- a/src/NzbDrone.Core.Test/OrganizerTests/GetSeriesFolderFixture.cs +++ b/src/NzbDrone.Core.Test/OrganizerTests/GetSeriesFolderFixture.cs @@ -26,6 +26,8 @@ namespace NzbDrone.Core.Test.OrganizerTests [TestCase("30 Rock", "{Series.Title}", "30.Rock")] [TestCase("24/7 Road to the NHL Winter Classic", "{Series Title}", "24+7 Road to the NHL Winter Classic")] [TestCase("Venture Bros.", "{Series.Title}", "Venture.Bros")] + [TestCase(".hack", "{Series.Title}", "hack")] + [TestCase("30 Rock", ".{Series.Title}.", "30.Rock")] public void should_use_seriesFolderFormat_to_build_folder_name(String seriesTitle, String format, String expected) { namingConfig.SeriesFolderFormat = format;