Add Backtick, Apostrophe and Contraction CleanTitle Test Cases

This commit is contained in:
diamondpete 2024-07-10 01:48:59 -04:00
parent fb96242442
commit 4991b4202e
1 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,14 @@ namespace NzbDrone.Core.Test.OrganizerTests.FileNameBuilderTests
[TestCase("I'm the Boss", "Im the Boss")]
[TestCase("The Title's", "The Title's")]
[TestCase("I'm after I'm", "Im after I'm")]
[TestCase("I've Been Caught", "Ive Been Caught")]
[TestCase("I'm Lost", "Im Lost")]
[TestCase("That'll Be The Day", "Thatll Be The Day")]
[TestCase("I'd Rather Be Alone", "I'd Rather Be Alone")]
[TestCase("I Can't Die", "I Cant Die")]
[TestCase("Won`t Get Fooled Again", "Wont Get Fooled Again")]
[TestCase("Dont Blink", "Dont Blink")]
[TestCase("The ` Legend of Kings", "The Legend of Kings")]
// [TestCase("", "")]
public void should_get_expected_title_back(string title, string expected)