From 20d6228b3dba4c5adc96f4f48a7d2849a16c3af7 Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Sun, 8 Aug 2021 23:20:01 +0200 Subject: [PATCH] make MemoryGroupFinalizer_ReturnsToPool Windows-only --- .../Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs b/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs index 951d5323f5..70eba2e6a3 100644 --- a/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs +++ b/tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs @@ -236,10 +236,10 @@ namespace SixLabors.ImageSharp.Tests.Memory.Allocators } } - public static bool IsNotMacOS => !TestEnvironment.IsOSX; + public static bool IsWindows => TestEnvironment.IsWindows; - // TODO: This doesn't seem to work on MacOS. Open an issue & investigate. - [ConditionalTheory(nameof(IsNotMacOS))] + // TODO: This doesn't seem to work on Unix. Open an issue & investigate. + [ConditionalTheory(nameof(IsWindows))] [InlineData(300)] [InlineData(600)] [InlineData(1200)]