17 lines
264 B
Ruby
17 lines
264 B
Ruby
# frozen_string_literal: true
|
|
|
|
Mutant::Meta::Example.add :const do
|
|
source 'A::B::C'
|
|
|
|
singleton_mutations
|
|
mutation 'B::C'
|
|
mutation 'C'
|
|
end
|
|
|
|
Mutant::Meta::Example.add :const do
|
|
source 'A.foo'
|
|
|
|
singleton_mutations
|
|
mutation 'A'
|
|
mutation 'self.foo'
|
|
end
|