free_mutant/meta/class.rb
John Backus 96a3a5162f
Add class mutator
Fixes #619
2016-07-24 17:29:26 -07:00

10 lines
206 B
Ruby

Mutant::Meta::Example.add :class do
source 'class Foo; bar; end'
mutation 'class Foo; nil; end'
mutation 'class Foo; self; end'
end
Mutant::Meta::Example.add :class do
source 'class Foo; end'
end