Skip to content

Commit

Permalink
Off-by-one errors. :) 380 is 380+
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel Nobel committed Dec 24, 2022
1 parent a7fd4e9 commit 7e9889b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ languages in [SonarQube](http://www.sonarqube.org/), [SonarCloud](https://sonarc

## Features

* [370+ C# rules](https://rules.sonarsource.com/csharp) and [170+ VB.​NET rules](https://rules.sonarsource.com/vbnet)
* [380+ C# rules](https://rules.sonarsource.com/csharp) and [170+ VB.​NET rules](https://rules.sonarsource.com/vbnet)
* Metrics (cognitive complexity, duplications, number of lines etc.)
* Import of [test coverage reports](https://community.sonarsource.com/t/9871) from Visual Studio Code Coverage, dotCover, OpenCover, Coverlet, Altcover.
* Import of third party Roslyn Analyzers results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private void HasCorrectRuleCount(AnalyzerLanguage language, string name)

var count = int.Parse(match.Groups["count"].Value);
var min = (count / 10) * 10;
rules.Should().BeInRange(min, min + 10);
rules.Should().BeInRange(min, min + 9);
}
}

Expand Down

0 comments on commit 7e9889b

Please sign in to comment.