free_mutant/meta/blockarg.rb
2018-09-12 13:15:43 +00:00

10 lines
194 B
Ruby

# frozen_string_literal: true
Mutant::Meta::Example.add :blockarg do
source 'foo { |&bar| }'
singleton_mutations
mutation 'foo { |&bar| raise }'
mutation 'foo {}'
mutation 'foo'
end