Skip to content

Commit 4f1e7fb

Browse files
authored
Skip on Mono for non-NetFramework test (#48864)
1 parent 6e515a2 commit 4f1e7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testing/src/xunit/FrameworkSkipConditionAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ private static bool CanRunOnThisFramework(RuntimeFrameworks excludedFrameworks)
3232
return true;
3333
}
3434

35-
#if NETFRAMEWORK
3635
if (excludedFrameworks.HasFlag(RuntimeFrameworks.Mono) &&
3736
TestPlatformHelper.IsMono)
3837
{
3938
return false;
4039
}
4140

41+
#if NETFRAMEWORK
4242
if (excludedFrameworks.HasFlag(RuntimeFrameworks.CLR))
4343
{
4444
return false;

0 commit comments

Comments
 (0)