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

20 lines
441 B
C#
Raw Normal View History

using System;
using FluentAssertions;
using Moq;
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();
}
}
}