Skip to content
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

Fixed TrailingCommaRule and StringTemplateRuleFixTest #1742

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

nulls
Copy link
Member

@nulls nulls commented Sep 21, 2023

What's done:

  • add checking children to support case with comma before comment
  • reused ASTFactory

It's part of #1737

### What's done:
- add checking children to support case with comma before comment
- reused ASTFactory

It's part of #1737
@nulls nulls self-assigned this Sep 21, 2023
@nulls nulls added bug Something isn't working tests Improve testing labels Sep 21, 2023
@nulls nulls added this to the 2.0.0 milestone Sep 21, 2023
@nulls nulls enabled auto-merge (squash) September 21, 2023 12:12
@codecov
Copy link

codecov bot commented Sep 21, 2023

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%) ⬆️
...diktat/ruleset/rules/chapter3/TrailingCommaRule.kt 91.22% <100.00%> (+17.15%) ⬆️

@nulls nulls changed the title Fixed TrailingCommaRule Fixed TrailingCommaRule and StringTemplateRuleFixTest Sep 21, 2023
@nulls nulls disabled auto-merge September 21, 2023 12:37
@nulls nulls enabled auto-merge (squash) September 21, 2023 12:37
@nulls nulls merged commit 05e7aa4 into master Sep 21, 2023
@nulls nulls deleted the feature/fix-tests#1737 branch September 21, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Improve testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants