-
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 mis-indented expression body functions #1363
Add unit tests for mis-indented expression body functions #1363
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1363 +/- ##
============================================
+ Coverage 83.59% 83.68% +0.08%
- Complexity 2567 2588 +21
============================================
Files 106 106
Lines 7291 7386 +95
Branches 2018 2048 +30
============================================
+ Hits 6095 6181 +86
Misses 353 353
- Partials 843 852 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
...st-framework/src/main/kotlin/org/cqfn/diktat/test/framework/processing/TestComparatorUnit.kt
Show resolved
Hide resolved
*/ | ||
private fun readFile(fileName: String): List<String> { | ||
var list: List<String> = ArrayList() | ||
private fun readFile(file: Path): List<String> = |
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.
maybe move to companion as in another class?
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 for the heads-up. Addressed with 80a9e3f.
0a16f9c
to
80a9e3f
Compare
### What's done: * Added unit tests for mis-indented expression body functions. * See #1330.
…o the user ### What's done: * `columnWidth` increased from 80 to `Int.MAX_VALUE`, so deltas will no longer have any inline `<br/>`
### What's done: * `readFile()` moved to a companion object
80a9e3f
to
e3aef73
Compare
What's done:
WRONG_INDENTATION
inspection #1330.