Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Heckle renames the _ "don't care" variable name as a mutation #10

agrimm opened this Issue · 1 comment

2 participants


_ is used as a "don't care" variable name:

but heckle tries to do the following as a mutation:

-  result = { |_, _, bar| bar }.join
+  result = { |_heckle_dummy, _, bar| bar }.join

This mutant will not get killed by a failing test, meaning that heckle will wrongly claim that the code isn't properly unit tested.


Hmm, I don't think there are any existing tests for this case. Thanks for reporting it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.