mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-29 03:05:49 +00:00
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|