mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Made free disk space non-existent folder should throw windows only
This commit is contained in:
parent
29c67ee312
commit
11a70a4a94
@ -29,6 +29,8 @@ public void should_be_able_to_get_space_on_unc()
|
|||||||
[Test]
|
[Test]
|
||||||
public void should_throw_if_drive_doesnt_exist()
|
public void should_throw_if_drive_doesnt_exist()
|
||||||
{
|
{
|
||||||
|
WindowsOnly();
|
||||||
|
|
||||||
Assert.Throws<DirectoryNotFoundException>(() => Subject.GetAvilableSpace(@"Z:\NOT_A_REAL_PATH\DOES_NOT_EXIST".AsOsAgnostic()));
|
Assert.Throws<DirectoryNotFoundException>(() => Subject.GetAvilableSpace(@"Z:\NOT_A_REAL_PATH\DOES_NOT_EXIST".AsOsAgnostic()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user