Skip to content

Commit

Permalink
Update the lines order
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource committed May 22, 2024
1 parent 524f1f6 commit 811f7d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void VerifyMetrics_Razor() =>
var metrics = messages.Single(x => x.FilePath.EndsWith(RazorFileName));
metrics.ClassCount.Should().Be(1);
metrics.CodeLine.Should().BeEquivalentTo(new[] { 2, 1, 3, 5, 8, 10, 13, 15, 16, 17, 19, 22, 23, 24, 26, 28, 29, 32, 33, 34, 36, 37, 39, 40, 43 });
metrics.CodeLine.Should().BeEquivalentTo(new[] { 1, 2, 3, 5, 8, 10, 13, 15, 16, 17, 19, 22, 23, 24, 26, 28, 29, 32, 33, 34, 36, 37, 39, 40, 43 });
metrics.CognitiveComplexity.Should().Be(3);
metrics.Complexity.Should().Be(4);
metrics.ExecutableLines.Should().BeEquivalentTo(new[] { 13, 15, 28, 29, 32, 36 });
Expand Down

0 comments on commit 811f7d2

Please sign in to comment.