Parse UNC paths

This commit is contained in:
Scott Schlesier 2010-11-06 09:01:46 -07:00
commit d5a869ac54
2 changed files with 11 additions and 1 deletions

View file

@ -58,6 +58,7 @@ namespace NzbDrone.Core.Test
[Row(@"c:\\test\\", @"c:\test")]
[Row(@"C:\\Test\\", @"c:\test")]
[Row(@"C:\\Test\\Test\", @"c:\test\test")]
[Row(@"\\Testserver\Test\", @"\\testserver\test")]
public void Normalize_Path(string dirty, string clean)
{
var result = Parser.NormalizePath(dirty);