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
For the following src/Example.kt
src/Example.kt
fun testString(p: String?) = when (p) { "a", "b" -> 1 "c" -> 2 else -> 3 } fun main() { testString("a") testString("b") testString("c") testString("d") }
execution of
kotlin-2.0.21/bin/kotlinc src -d classes java -javaagent:jacoco-0.8.13-SNAPSHOT/lib/jacocoagent.jar -cp classes:kotlin-2.0.21/lib/kotlin-stdlib.jar ExampleKt java -jar jacoco-0.8.13-SNAPSHOT/lib/jacococli.jar report jacoco.exec --classfiles classes --sourcefiles src --html report
produces report
Perhaps relates to this issue.
All branches in when expression should be fully covered
when
master
The text was updated successfully, but these errors were encountered:
Godin
Successfully merging a pull request may close this issue.
For the following
src/Example.kt
execution of
produces report
Perhaps relates to this issue.
Expected behaviour
All branches in
when
expression should be fully coveredEnvironment
master
branch built locallyThe text was updated successfully, but these errors were encountered: