mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
trying to fix nunit in teamcity.
This commit is contained in:
parent
f278c7f230
commit
f65f4ff988
3 changed files with 24 additions and 2 deletions
|
@ -33,6 +33,8 @@ namespace NzbDrone.Common.Test
|
|||
[TestCase(@"\\Testserver\Test\file.ext \\", @"\\Testserver\Test\file.ext")]
|
||||
public void Normalize_Path_Windows(string dirty, string clean)
|
||||
{
|
||||
WindowsOnly();
|
||||
|
||||
var result = dirty.CleanPath();
|
||||
result.Should().Be(clean);
|
||||
}
|
||||
|
@ -46,6 +48,8 @@ namespace NzbDrone.Common.Test
|
|||
[TestCase(@"//CAPITAL//lower// ", @"/CAPITAL/lower")]
|
||||
public void Normalize_Path_Linux(string dirty, string clean)
|
||||
{
|
||||
LinuxOnly();
|
||||
|
||||
var result = dirty.CleanPath();
|
||||
result.Should().Be(clean);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue