free_mutant/meta/casgn.rb
2015-08-13 17:12:57 -04:00

17 lines
348 B
Ruby

Mutant::Meta::Example.add do
source 'A = true'
mutation 'A__MUTANT__ = true'
mutation 'A = false'
mutation 'A = nil'
mutation 'remove_const :A'
end
Mutant::Meta::Example.add do
source 'self::A = true'
mutation 'self::A__MUTANT__ = true'
mutation 'self::A = false'
mutation 'self::A = nil'
mutation 'self.remove_const :A'
end