SonarSource/sonar-dotnet

Change `.Verify` to fail when no issues are reported

Closed this issue · 0 comments

Currently .Verify does pass if no issues are reported. This can hide problems when source files are not detected correctly.
The behavior should be changed to fail if there are no issues reported. If zero issues are the expected outcome of the test, .VerifyNoIssueReported should be used instead, which makes the test more explicit.