We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Errors Some line covered partially
Expected behavior All lines should be fully covered (green)
Reproducer Source class
inline fun myInline(producer: () -> Int?) { val value = producer()?.inc() println(value) }
Test
@Test fun test() { myInline { 41 } myInline { null } }
Reports
Environment
1.0.754
The text was updated successfully, but these errors were encountered:
Same for
public inline fun CharSequence?.isNotNullNorBlank(): Boolean { contract { returns(true) implies (this@isNotNullNorBlank != null) } return !isNullOrBlank() } public inline fun CharSequence?.isNotNullNorEmpty(): Boolean { contract { returns(true) implies (this@isNotNullNorEmpty != null) } return !isNullOrEmpty() }
If I remove inline, they are covered.
inline
Sorry, something went wrong.
shanshin
No branches or pull requests
Errors
Some line covered partially
Expected behavior
All lines should be fully covered (green)
Reproducer
Source class
Test
Reports
Environment
1.0.754
The text was updated successfully, but these errors were encountered: