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 TrailingCommaRule and StringTemplateRuleFixTest #1742

Closed nulls closed 11 months ago

nulls commented 11 months ago

What's done:

It's part of #1737

codecov[bot] commented 11 months ago

Codecov Report

Merging #1742 (6fee912) into master (2e563f2) will increase coverage by 0.37%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1742      +/-   ##
============================================
+ Coverage     75.12%   75.49%   +0.37%     
- Complexity     2274     2277       +3     
============================================
  Files           126      126              
  Lines          8233     8236       +3     
  Branches       2067     2068       +1     
============================================
+ Hits           6185     6218      +33     
+ Misses         1132     1103      -29     
+ Partials        916      915       -1     
Files Changed Coverage Δ
...ruleset/rules/chapter3/StringTemplateFormatRule.kt 87.50% <100.00%> (+37.50%) :arrow_up:
...diktat/ruleset/rules/chapter3/TrailingCommaRule.kt 91.22% <100.00%> (+17.15%) :arrow_up: