mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
removed comma from windows invalid path chars.
This commit is contained in:
parent
566e4eb1ce
commit
f162f164e7
5 changed files with 61 additions and 2 deletions
19
NzbDrone.Common.Test/EnsureTest/PathExtensionFixture.cs
Normal file
19
NzbDrone.Common.Test/EnsureTest/PathExtensionFixture.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue