We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d703263 commit 960f7f6Copy full SHA for 960f7f6
tests/Magick.NET.Tests/MagickFormatInfoTests/TheCreateMethod.cs
@@ -212,11 +212,8 @@ private static bool ShouldReport(MagickFormat format)
212
if (IsDisabledThroughPolicy(format))
213
return false;
214
215
- if (!Runtime.IsWindows)
216
- {
217
- if (format == MagickFormat.Clipboard || format == MagickFormat.Emf || format == MagickFormat.Wmf)
218
- return false;
219
- }
+ if ((format == MagickFormat.Clipboard || format == MagickFormat.Emf || format == MagickFormat.Wmf) && !Runtime.IsWindows)
+ return false;
220
221
return true;
222
}
0 commit comments