-
Notifications
You must be signed in to change notification settings - Fork 39
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
Extracted REDUNDANT_SEMICOLON
rule check from WRONG_NEWLINES
rule
#1864
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1864 +/- ##
=========================================
Coverage 78.40% 78.41%
- Complexity 2463 2465 +2
=========================================
Files 133 134 +1
Lines 8688 8695 +7
Branches 2200 2199 -1
=========================================
+ Hits 6812 6818 +6
- Misses 897 898 +1
Partials 979 979 ☔ View full report in Codecov by Sentry. |
JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2) 166 files +2 166 suites +2 8m 36s ⏱️ + 3m 7s Results for commit e055494. ± Comparison against base commit 02c1a7c. This pull request removes 3 and adds 10 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) 166 files +2 166 suites +2 7m 6s ⏱️ -24s Results for commit e055494. ± Comparison against base commit 02c1a7c. This pull request removes 3 and adds 10 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
REDUNDANT_SEMICOLON
rule check from logic associated with WRONG_NEWLINES
ruleREDUNDANT_SEMICOLON
rule check from WRONG_NEWLINES
rule
...rules/src/test/kotlin/com/saveourtool/diktat/ruleset/chapter3/files/SemicolonsRuleFixTest.kt
Show resolved
Hide resolved
- Added smoke test for logic related to semicolons.
What's done:
REDUNDANT_SEMICOLON
rule check moved to earlier checks to remove unnecessary semicolons before executing the rest of the rules.REDUNDANT_SEMICOLON
rule.LocalVariablesRule
.Closes #1863, #1783