Skip to content

Commit

Permalink
Remove CA1861 suppression
Browse files Browse the repository at this point in the history
  • Loading branch information
teemka committed Nov 13, 2024
1 parent 5e03967 commit c42de83
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ProjectEuler.Tests/Problems/001-100/61-70/Problem064Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ public class Problem064Tests : ProblemTestBase

public override string Answer => "1322";

// https://github.com/dotnet/roslyn-analyzers/issues/7033
#pragma warning disable CA1861 // Avoid constant arrays as arguments
[Theory]
[InlineData(2, 1, new[] { 2 })]
[InlineData(3, 1, new[] { 1, 2 })]
Expand All @@ -22,7 +20,6 @@ public class Problem064Tests : ProblemTestBase
[InlineData(12, 3, new[] { 2, 6 })]
[InlineData(13, 3, new[] { 1, 1, 1, 1, 6 })]
[InlineData(23, 4, new[] { 1, 3, 1, 8 })]
#pragma warning restore CA1861 // Avoid constant arrays as arguments
public void Should_ExpandExamples(int power, int expectedFirstInteger, int[] expectedPeriod)
{
// Act
Expand Down

0 comments on commit c42de83

Please sign in to comment.