-
Notifications
You must be signed in to change notification settings - Fork 386
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
Fix switch pattern #1006
Fix switch pattern #1006
Conversation
Yes that's a good solution. Thanks again to @jakubch1 for the hint. The only thing that doesn't really fit is the hits count, line 36 is actually only hit once. But it's certainly more lightweight than what I did. I mixed this skip and the other algorithm and therefore had to do some changes in the instrumenter ..., definitely more heavy. |
@daveMueller with the idea of "skip nested lines" fixes accounting issue |
@daveMueller please feel free to review this. |
@MarcoRossignoli Sure I will just need approx. 2 days to find some spare time. I'm really interested in the key differences to my implementation and why I couldn't make I run without touching the |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Keeping 100% coverage now that [switch expressions coverage][1] has been fixed in coverlet. [1]: coverlet-coverage/coverlet#1006
fixes #936
cc: @daveMueller I did some test and skipping branches and breakpoint expression seems to work