mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Cleaned up environment detection
This commit is contained in:
parent
cf77104a02
commit
f4c202441c
35 changed files with 112 additions and 95 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue