-
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
Add unit tests for indentation in if
- and while
-expression predicates
#1433
Merged
0x6675636b796f75676974687562
merged 3 commits into
master
from
bugfix/andrey.shcheglov/indent-in-if-statements
Jul 11, 2022
Merged
Add unit tests for indentation in if
- and while
-expression predicates
#1433
0x6675636b796f75676974687562
merged 3 commits into
master
from
bugfix/andrey.shcheglov/indent-in-if-statements
Jul 11, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ates ### What's done: * Unit tests added which cover indentation in `if`- and `while`-expression predicates. * See #1351.
...ules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/spaces/IndentationRuleTestResources.kt
Fixed
Show fixed
Hide fixed
...ules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/spaces/IndentationRuleTestResources.kt
Fixed
Show fixed
Hide fixed
...ules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/spaces/IndentationRuleTestResources.kt
Fixed
Show fixed
Hide fixed
...ules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/spaces/IndentationRuleTestResources.kt
Fixed
Show fixed
Hide fixed
...ules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/spaces/IndentationRuleTestResources.kt
Fixed
Show fixed
Hide fixed
Codecov Report
@@ Coverage Diff @@
## master #1433 +/- ##
=========================================
Coverage 83.19% 83.19%
Complexity 2555 2555
=========================================
Files 107 107
Lines 7612 7612
Branches 2103 2103
=========================================
Hits 6333 6333
Misses 388 388
Partials 891 891
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
### What's done:
orchestr7
approved these changes
Jul 10, 2022
### What's done:
0x6675636b796f75676974687562
deleted the
bugfix/andrey.shcheglov/indent-in-if-statements
branch
July 11, 2022 10:20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's done:
if
- andwhile
-expressionpredicates.
WRONG_INDENTATION
continuation indent expected inif
-expression #1351.Actions checklist