mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Fixed: No not trim trailing "A" from series title when looking for a matching series
This commit is contained in:
@@ -66,7 +66,6 @@ namespace NzbDrone.Core.Test.OrganizerTests.FileNameBuilderTests
|
||||
[TestCase("backslash \\ backlash", "backslash backlash")]
|
||||
[TestCase("I'm the Boss", "Im the Boss")]
|
||||
//[TestCase("", "")]
|
||||
//[TestCase("", "")]
|
||||
public void should_get_expected_title_back(string title, string expected)
|
||||
{
|
||||
_series.Title = title;
|
||||
|
||||
@@ -113,5 +113,11 @@ namespace NzbDrone.Core.Test.ParserTests
|
||||
dirty.CleanSeriesTitle().Should().Be(word + "wordword");
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_not_clean_trailing_a()
|
||||
{
|
||||
"Tokyo Ghoul A".CleanSeriesTitle().Should().Be("tokyoghoula");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user