mirror of https://github.com/lidarr/Lidarr
19 lines
552 B
C#
19 lines
552 B
C#
using FluentAssertions;
|
|
using NUnit.Framework;
|
|
using NzbDrone.Core.Organizer;
|
|
using NzbDrone.Core.Test.Framework;
|
|
|
|
namespace NzbDrone.Core.Test.OrganizerTests
|
|
{
|
|
[TestFixture]
|
|
public class CleanFixture : CoreTest
|
|
{
|
|
[TestCase("Law & Order: Criminal Intent - S10E07 - Icarus [HDTV-720p]",
|
|
"Law & Order- Criminal Intent - S10E07 - Icarus [HDTV-720p]")]
|
|
public void CleanFileName(string name, string expectedName)
|
|
{
|
|
FileNameBuilder.CleanFileName(name).Should().Be(expectedName);
|
|
}
|
|
}
|
|
}
|