mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Fixed: Allow text in front of cleaned Album/Track tag (#498)
* Fixed: Allow text in front of cleaned tag * fixup! Add another test case that shouldnt be matched.
This commit is contained in:
@@ -53,10 +53,13 @@ namespace NzbDrone.Core.Test.ParserTests
|
||||
}
|
||||
|
||||
[TestCase("Songs of Experience (Deluxe Edition)", "Songs of Experience")]
|
||||
[TestCase("Songs of Experience (iTunes Deluxe Edition)", "Songs of Experience")]
|
||||
[TestCase("Songs of Experience [Super Special Edition]", "Songs of Experience")]
|
||||
[TestCase("Mr. Bad Guy [Special Edition]", "Mr. Bad Guy")]
|
||||
[TestCase("Sweet Dreams (Album)", "Sweet Dreams")]
|
||||
[TestCase("Now What?! (Limited Edition)", "Now What?!")]
|
||||
[TestCase("Random Album Title (Promo CD)", "Random Album Title")]
|
||||
[TestCase("Limited Edition", "Limited Edition")]
|
||||
public void should_remove_common_tags_from_album_title(string title, string correct)
|
||||
{
|
||||
var result = Parser.Parser.CleanAlbumTitle(title);
|
||||
|
||||
Reference in New Issue
Block a user