Thanks to visit codestin.com Credit goes to github.com
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
enum class SingleEnum { First } fun testEnum(p: SingleEnum) = when (p) { SingleEnum.First -> 1 } fun main() { testEnum(SingleEnum.First) }
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
All lines of when expression should be fully covered as single enum element was passed
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


Expected behaviour
All lines of
when
expression should be fully covered as single enum element was passedEnvironment
master
branch built locallyThe text was updated successfully, but these errors were encountered: