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:
parent
b9ff97fe9f
commit
044d5ad0a5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue