Hi,

On Saturday, December 22, 2018 at 8:30:45 PM UTC+1, [email protected] 
wrote:
>
> Is it possible to ignore !!. operator in Kotlin code when calculating test 
> coverage? Sometimes I have a nullable variable which cannot be null in a 
> lifecycle method, and if I use !!., then jacoco report says "1 of 2 
> branches missed". I don't know how to handle that easily


If variable cannot be null, then why it is declared as nullable?


Regards,
Evgeny

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/0aeeb75d-e9cf-4ed8-80aa-6392bf49c7f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to