Skip to content

Commit

Permalink
Field is only needed for NUNIT4 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manfred-brands committed Jul 26, 2024
1 parent f017e6d commit 7c96200
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace NUnit.Analyzers.Tests.TestCaseUsage
[TestFixture]
public sealed class TestCaseUsageAnalyzerTests
{
#if NUNIT4
#if NET6_0_OR_GREATER
// This can go once NUnit 4.2.0 is released and we update our reference.
private const string GenericTestCaseAttributeSource = """
Expand Down Expand Up @@ -62,6 +63,7 @@ public TestCaseAttribute(T1 argument1, T2 argument2)
}

""";
#endif
#endif

private readonly DiagnosticAnalyzer analyzer = new TestCaseUsageAnalyzer();
Expand Down

0 comments on commit 7c96200

Please sign in to comment.