Sonarr/NzbDrone.Common.Test/EnsureTest/PathExtensionFixture.cs

17 lines
392 B
C#
Raw Normal View History

2013-07-19 03:47:55 +00:00
using NUnit.Framework;
using NzbDrone.Common.EnsureThat;
using NzbDrone.Test.Common;
namespace NzbDrone.Common.Test.EnsureTest
{
[TestFixture]
public class PathExtensionFixture : TestBase
{
[TestCase(@"p:\TV Shows\file with, comma.mkv")]
public void EnsureWindowsPath(string path)
{
Ensure.That(() => path).IsValidPath();
}
}
}