mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
OS X and linux can be treated separately
This commit is contained in:
@@ -173,7 +173,7 @@ namespace NzbDrone.Test.Common.AutoMoq
|
||||
{
|
||||
var assemblyName = "NzbDrone.Windows";
|
||||
|
||||
if (OsInfo.IsLinux)
|
||||
if (OsInfo.IsMono)
|
||||
{
|
||||
assemblyName = "NzbDrone.Mono";
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace NzbDrone.Test.Common
|
||||
{
|
||||
public static string AsOsAgnostic(this string path)
|
||||
{
|
||||
if (OsInfo.IsLinux)
|
||||
if (OsInfo.IsMono)
|
||||
{
|
||||
if (path.Length > 2 && path[1] == ':')
|
||||
{
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
protected void WindowsOnly()
|
||||
{
|
||||
if (OsInfo.IsLinux)
|
||||
if (OsInfo.IsMono)
|
||||
{
|
||||
throw new IgnoreException("windows specific test");
|
||||
}
|
||||
@@ -133,7 +133,7 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
protected void LinuxOnly()
|
||||
{
|
||||
if (!OsInfo.IsLinux)
|
||||
if (!OsInfo.IsMono)
|
||||
{
|
||||
throw new IgnoreException("linux specific test");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user