Added cases to strip feat. from track titles. (#288)

* Added cases to strip feat. from track titles.
This commit is contained in:
Joseph Milazzo
2018-04-09 20:37:56 -05:00
committed by GitHub
parent 453bbeee20
commit 734b1f6101
2 changed files with 16 additions and 3 deletions
@@ -60,6 +60,10 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Songs of Experience (Deluxe Edition)", "Songs of Experience")]
[TestCase("Mr. Bad Guy [Special Edition]", "Mr. Bad Guy")]
[TestCase("Smooth Criminal (single)", "Smooth Criminal")]
[TestCase("Wie Maak Die Jol Vol (Ft. Isaac Mutant, Knoffel, Jaak Paarl & Scallywag)", "Wie Maak Die Jol Vol")]
[TestCase("Alles Schon Gesehen (Feat. Deichkind)", "Alles Schon Gesehen")]
[TestCase("Science Fiction/Double Feature", "Science Fiction/Double Feature")]
[TestCase("Dancing Feathers", "Dancing Feathers")]
public void should_remove_common_tags_from_track_title(string title, string correct)
{
var result = Parser.Parser.CleanTrackTitle(title);