1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-03-03 02:05:41 +00:00

Made free disk space non-existent folder should throw windows only

This commit is contained in:
Mark McDowall 2013-08-08 22:03:33 -07:00
parent 29c67ee312
commit 11a70a4a94

View file

@ -29,6 +29,8 @@ namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
[Test]
public void should_throw_if_drive_doesnt_exist()
{
WindowsOnly();
Assert.Throws<DirectoryNotFoundException>(() => Subject.GetAvilableSpace(@"Z:\NOT_A_REAL_PATH\DOES_NOT_EXIST".AsOsAgnostic()));
}