From f33c060ff58f1d0e0aa4b31e679f92972cd731cc Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Sun, 29 Jan 2023 23:10:24 +0100 Subject: [PATCH] Fix attribute --- FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs | 2 +- FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs b/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs index 01fce23..8c10054 100644 --- a/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs +++ b/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs @@ -7,7 +7,7 @@ public class WindowsOnlyDataTestMethod : DataTestMethodAttribute { public override TestResult[] Execute(ITestMethod testMethod) { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { var message = $"Test not executed on other platforms than Windows"; { diff --git a/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs b/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs index 0dc4b9e..29300e3 100644 --- a/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs +++ b/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs @@ -7,7 +7,7 @@ public class WindowsOnlyTestMethod : TestMethodAttribute { public override TestResult[] Execute(ITestMethod testMethod) { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { var message = $"Test not executed on other platforms than Windows"; {