free_mutant/meta/blockarg.rb

11 lines
167 B
Ruby
Raw Normal View History

# encoding: utf-8
Mutant::Meta::Example.add do
source 'foo { |&bar| }'
mutation 'foo { |&bar| raise }'
mutation 'foo {}'
mutation 'foo'
mutation 'nil'
end