A couple more tests for periods at start/end of folder name

pull/4/head
Mark McDowall 10 years ago
parent b9ff97fe9f
commit 044d5ad0a5

@ -26,6 +26,8 @@ namespace NzbDrone.Core.Test.OrganizerTests
[TestCase("30 Rock", "{Series.Title}", "30.Rock")] [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("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("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) public void should_use_seriesFolderFormat_to_build_folder_name(String seriesTitle, String format, String expected)
{ {
namingConfig.SeriesFolderFormat = format; namingConfig.SeriesFolderFormat = format;

Loading…
Cancel
Save