Add mutation from foo { bar }
to bar
This commit is contained in:
parent
d056b591f3
commit
b47717ec90
3 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
* Parallel execution / reporting.
|
||||
* Add -j, --jobs flag to control concurrency.
|
||||
* Fix blind spots on send with block.
|
||||
* Add mutation from `foo { bar }` to `bar`
|
||||
|
||||
# v0.5.26 2014-07-07
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ module Mutant
|
|||
emit_send_mutations(&method(:n_send?))
|
||||
emit_arguments_mutations
|
||||
if body
|
||||
emit(body)
|
||||
emit_body_mutations
|
||||
end
|
||||
emit_body(nil)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# encoding: utf-8
|
||||
|
||||
Mutant::Meta::Example.add do
|
||||
source 'foo() { a; b }'
|
||||
source 'foo { a; b }'
|
||||
|
||||
singleton_mutations
|
||||
mutation 'foo { a }'
|
||||
|
@ -13,6 +13,7 @@ Mutant::Meta::Example.add do
|
|||
mutation 'foo { nil; b }'
|
||||
mutation 'foo { self; b }'
|
||||
mutation 'foo'
|
||||
mutation 'a; b'
|
||||
end
|
||||
|
||||
Mutant::Meta::Example.add do
|
||||
|
|
Loading…
Reference in a new issue