-
-
Notifications
You must be signed in to change notification settings - Fork 791
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
Minor refactors around --create-baseline #2477
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2477 +/- ##
===========================================
+ Coverage 83.29% 83.3% +0.01%
+ Complexity 2185 2184 -1
===========================================
Files 360 360
Lines 6207 6206 -1
Branches 1139 1137 -2
===========================================
Hits 5170 5170
Misses 463 463
+ Partials 574 573 -1
Continue to review full report at Codecov.
|
"--create-baseline", | ||
"--report", "txt:$tmpReport", | ||
"--config-resource", "/configs/max-issues-0.yml" | ||
)) | ||
|
||
Runner(cliArgs).execute() | ||
|
||
assertThat(Files.readAllLines(tmpReport)).hasSize(1) | ||
assertThat(tmpReport).hasContent("") |
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.
TIL 👍
"--create-baseline", | ||
"--report", "txt:$tmpReport", | ||
"--config-resource", "/configs/max-issues-0.yml" | ||
)) | ||
|
||
Runner(cliArgs).execute() | ||
|
||
assertThat(Files.readAllLines(tmpReport)).hasSize(1) |
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.
I think it was just the newline ending asserted here.
Please, check the second commit carefully. I think that the test was wrong, but I'm not 100% sure.