mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Cleaned up environment detection
This commit is contained in:
@@ -128,16 +128,15 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
protected void WindowsOnly()
|
||||
{
|
||||
if (OsInfo.IsMono)
|
||||
if (OsInfo.IsNotWindows)
|
||||
{
|
||||
throw new IgnoreException("windows specific test");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void MonoOnly()
|
||||
{
|
||||
if (!OsInfo.IsMono)
|
||||
if (OsInfo.IsWindows)
|
||||
{
|
||||
throw new IgnoreException("mono specific test");
|
||||
}
|
||||
|
Reference in New Issue
Block a user