From 0c90af71e1784f3cd304ac9fbd77f949bf991162 Mon Sep 17 00:00:00 2001 From: Adam Sitnik Date: Wed, 14 Dec 2022 12:34:26 +0100 Subject: [PATCH] change something small just to triegger the CI --- tests/BenchmarkDotNet.Tests/ReflectionTests.cs | 2 +- .../XUnit/FactDotNetCore21OnlyAttribute.cs | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 tests/BenchmarkDotNet.Tests/XUnit/FactDotNetCore21OnlyAttribute.cs diff --git a/tests/BenchmarkDotNet.Tests/ReflectionTests.cs b/tests/BenchmarkDotNet.Tests/ReflectionTests.cs index d1ee7ad700..51c4dbb9c0 100644 --- a/tests/BenchmarkDotNet.Tests/ReflectionTests.cs +++ b/tests/BenchmarkDotNet.Tests/ReflectionTests.cs @@ -114,7 +114,7 @@ private GenericNoPublicCtor() { } [Benchmark] public T Create() => default; } - [FactDotNetCore21Only("the implicit cast operator is available only in .NET Core 2.1+ (See https://github.com/dotnet/corefx/issues/30121 for more)")] + [FactDotNetCoreOnly("the implicit cast operator is available only in .NET Core 2.1+ (See https://github.com/dotnet/corefx/issues/30121 for more)")] public void StringCanBeUsedAsReadOnlySpanOfCharArgument() => Assert.True(typeof(ReadOnlySpan).IsStackOnlyWithImplicitCast("a string")); [Fact] diff --git a/tests/BenchmarkDotNet.Tests/XUnit/FactDotNetCore21OnlyAttribute.cs b/tests/BenchmarkDotNet.Tests/XUnit/FactDotNetCore21OnlyAttribute.cs deleted file mode 100644 index 79b34b3ab5..0000000000 --- a/tests/BenchmarkDotNet.Tests/XUnit/FactDotNetCore21OnlyAttribute.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Xunit; - -namespace BenchmarkDotNet.Tests.XUnit -{ - public class FactDotNetCore21OnlyAttribute : FactAttribute - { - public FactDotNetCore21OnlyAttribute(string skipReason) - { -#if !NETCOREAPP2_1 - Skip = skipReason; -#endif - } - } -} \ No newline at end of file