saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
521 stars 39 forks source link

Fixed BracesInConditionalsAndLoopsRule and added tests #1750

Closed DrAlexD closed 11 months ago

DrAlexD commented 11 months ago

What's done:

It's part of #1737

codecov[bot] commented 11 months ago

Codecov Report

Merging #1750 (3fdde5f) into master (17d4bcc) will increase coverage by 0.30%. The diff coverage is 73.33%.

@@             Coverage Diff              @@
##             master    #1750      +/-   ##
============================================
+ Coverage     76.10%   76.40%   +0.30%     
- Complexity     2283     2296      +13     
============================================
  Files           126      126              
  Lines          8243     8273      +30     
  Branches       2070     2081      +11     
============================================
+ Hits           6273     6321      +48     
+ Misses         1050     1027      -23     
- Partials        920      925       +5     
Files Changed Coverage Δ
...rules/chapter3/BracesInConditionalsAndLoopsRule.kt 84.44% <73.33%> (+21.58%) :arrow_up: