1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 10:17:47 +00:00

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

This commit is contained in:
Mark McDowall 2014-09-02 21:44:02 -07:00
parent b9ff97fe9f
commit 044d5ad0a5

View file

@ -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;