8 lines
202 B
Ruby
8 lines
202 B
Ruby
Mutant::Meta::Example.add :kwarg do
|
|
source 'def foo(bar:); end'
|
|
|
|
mutation 'def foo; end'
|
|
mutation 'def foo(bar:); raise; end'
|
|
mutation 'remove_method(:foo)'
|
|
mutation 'def foo(_bar:); end'
|
|
end
|