mirror of https://github.com/Sonarr/Sonarr
20 lines
441 B
C#
20 lines
441 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|