Skip to content

Commit

Permalink
#3: Remove dash from name generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramo-Y committed Mar 31, 2024
1 parent 6642176 commit 4d0de38
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions src/BulkRename.IntegrationTests/Services/FileServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,44 +105,44 @@ public async Task CopyFilesToRenameToDockerMappedPort_SubmitRename_FilesAreRenam

var darkExpectedNames = new List<string>
{
"Dark - S01-E01.mkv",
"Dark - S01-E02.mkv",
"Dark - S01-E03.mkv",
"Dark - S01-E04.mkv",
"Dark - S01-E05.mkv",
"Dark - S01-E06.mkv",
"Dark - S01-E07.mkv",
"Dark - S01-E08.mkv",
"Dark - S01-E09.mkv",
"Dark - S01-E10.mkv"
"Dark - S01E01.mkv",
"Dark - S01E02.mkv",
"Dark - S01E03.mkv",
"Dark - S01E04.mkv",
"Dark - S01E05.mkv",
"Dark - S01E06.mkv",
"Dark - S01E07.mkv",
"Dark - S01E08.mkv",
"Dark - S01E09.mkv",
"Dark - S01E10.mkv"
};

var theWalkingDeadSeason01ExpectedNames = new List<string>
{
$"{THE_WALKING_DEAD} - S01-E01.mkv",
$"{THE_WALKING_DEAD} - S01-E02.mkv",
$"{THE_WALKING_DEAD} - S01-E03.mkv",
$"{THE_WALKING_DEAD} - S01-E04.mkv",
$"{THE_WALKING_DEAD} - S01-E05.mkv",
$"{THE_WALKING_DEAD} - S01-E06.mkv",
$"{THE_WALKING_DEAD} - S01-E07.mkv",
$"{THE_WALKING_DEAD} - S01-E08.mkv",
$"{THE_WALKING_DEAD} - S01-E09.mkv",
$"{THE_WALKING_DEAD} - S01-E10.mkv"
$"{THE_WALKING_DEAD} - S01E01.mkv",
$"{THE_WALKING_DEAD} - S01E02.mkv",
$"{THE_WALKING_DEAD} - S01E03.mkv",
$"{THE_WALKING_DEAD} - S01E04.mkv",
$"{THE_WALKING_DEAD} - S01E05.mkv",
$"{THE_WALKING_DEAD} - S01E06.mkv",
$"{THE_WALKING_DEAD} - S01E07.mkv",
$"{THE_WALKING_DEAD} - S01E08.mkv",
$"{THE_WALKING_DEAD} - S01E09.mkv",
$"{THE_WALKING_DEAD} - S01E10.mkv"
};

var theWalkingDeadSeason02ExpectedNames = new List<string>
{
$"{THE_WALKING_DEAD} - S02-E01.mkv",
$"{THE_WALKING_DEAD} - S02-E02.mkv",
$"{THE_WALKING_DEAD} - S02-E03.mkv",
$"{THE_WALKING_DEAD} - S02-E04.mkv",
$"{THE_WALKING_DEAD} - S02-E05.mkv",
$"{THE_WALKING_DEAD} - S02-E06.mkv",
$"{THE_WALKING_DEAD} - S02-E07.mkv",
$"{THE_WALKING_DEAD} - S02-E08.mkv",
$"{THE_WALKING_DEAD} - S02-E09.mkv",
$"{THE_WALKING_DEAD} - S02-E10.mkv"
$"{THE_WALKING_DEAD} - S02E01.mkv",
$"{THE_WALKING_DEAD} - S02E02.mkv",
$"{THE_WALKING_DEAD} - S02E03.mkv",
$"{THE_WALKING_DEAD} - S02E04.mkv",
$"{THE_WALKING_DEAD} - S02E05.mkv",
$"{THE_WALKING_DEAD} - S02E06.mkv",
$"{THE_WALKING_DEAD} - S02E07.mkv",
$"{THE_WALKING_DEAD} - S02E08.mkv",
$"{THE_WALKING_DEAD} - S02E09.mkv",
$"{THE_WALKING_DEAD} - S02E10.mkv"
};

// act
Expand Down
2 changes: 1 addition & 1 deletion src/BulkRename/Constants/RenamingConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ internal static class RenamingConstants

internal const string NAME_FIRST_PRAEFIX = " - S";

internal const string NAME_SECOND_PRAEFIX = "-E";
internal const string NAME_SECOND_PRAEFIX = "E";
}
}

0 comments on commit 4d0de38

Please sign in to comment.