-
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
Fixing issue in WhiteSpaceRule #412
Conversation
### What's done: * Changed logic * Added tests
Codecov Report
@@ Coverage Diff @@
## master #412 +/- ##
============================================
- Coverage 82.62% 82.50% -0.13%
- Complexity 1343 1346 +3
============================================
Files 65 65
Lines 3298 3298
Branches 1055 1053 -2
============================================
- Hits 2725 2721 -4
- Misses 177 178 +1
- Partials 396 399 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -15,3 +15,8 @@ class Example : SuperExample { | |||
when (expression) { } | |||
} | |||
} | |||
|
|||
data class Example( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same bug was with functions?
now it fixes foo ()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this case was missing in tests. Added.
But diktat fixes it already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
### What's done: * Added tests
What's done:
This pull request closes #405