DotNetAnalyzers / StyleCopAnalyzers

An implementation of StyleCop rules using the .NET Compiler Platform
MIT License
2.61k stars 506 forks source link

Add test for SA1000's handling of c# 7.1 default literal expressions #3838

Open bjornhellander opened 1 month ago

bjornhellander commented 1 month ago

Fixes #2420 by adding tests that check that space after a default literal expression is ignored

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.45%. Comparing base (17b613d) to head (337d6e2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3838 +/- ## ========================================== + Coverage 94.38% 97.45% +3.07% ========================================== Files 925 925 Lines 110065 110105 +40 Branches 3307 3307 ========================================== + Hits 103881 107304 +3423 + Misses 5174 1838 -3336 + Partials 1010 963 -47 ```