1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

disk provider removes readonly flag before trying to delete files.

This commit is contained in:
kay.one
2013-09-12 21:59:29 -07:00
parent d64e902fa0
commit 0ebbe102c9
10 changed files with 119 additions and 46 deletions
+2 -3
View File
@@ -126,17 +126,16 @@ namespace NzbDrone.Common.Test
}
[Test]
public void get_actual_casing_should_return_actual_casing_for_local_dir_in_windows()
{
WindowsOnly();
var path = Directory.GetCurrentDirectory();
var path = Directory.GetCurrentDirectory().Replace("c:\\","C:\\");
path.ToUpper().GetActualCasing().Should().Be(path);
path.ToLower().GetActualCasing().Should().Be(path);
}
[Test]
public void get_actual_casing_should_return_original_value_in_linux()
{