-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve S2437: message - replace silly with unnecessary #7318
Conversation
e978a6e
to
7924b34
Compare
Uncovered lines (such as https://sonarcloud.io/code?id=sonaranalyzer-dotnet&pullRequest=7318&selected=sonaranalyzer-dotnet%3Aanalyzers%2Fsrc%2FSonarAnalyzer.CSharp%2FRules%2FUnnecessaryBitwiseOperationCodeFix.cs&line=36) are on existing and unmodified code, in scenarios where the codefix is applied to the wrong node type => not easy to reproduce in a test. |
@@ -24,41 +24,41 @@ | |||
namespace SonarAnalyzer.UnitTest.Rules | |||
{ | |||
[TestClass] | |||
public class SillyBitwiseOperationTest | |||
public class UnnecessaryBitwiseOperationTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name of the file is still SillyBitwiseOperationTest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spot, fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
SonarCloud Quality Gate failed. |
Kudos, SonarCloud Quality Gate passed! |
RSpec: SonarSource/rspec#1991