Created
September 21, 2017 15:35
-
-
Save EgorBo/56c89420d29efacb330a7d14779cd4ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Licensed to the .NET Foundation under one or more agreements. | |
// The .NET Foundation licenses this file to you under the MIT license. | |
// See the LICENSE file in the project root for more information. | |
using System.Linq; | |
using Xunit; | |
namespace MegaTests | |
{ | |
public class SuperTests | |
{ | |
[Fact] | |
[SkipOnTargetFramework(TargetFrameworkMonikers.Netcoreapp)] | |
public void Test1() | |
{ | |
throw new Exception("should be ran on mono"); | |
} | |
[Fact] | |
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework)] | |
public void Test2() | |
{ | |
throw new Exception("should be skpped on mono"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment