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

10 lines
195 B
Ruby

# frozen_string_literal: true
Mutant::Meta::Example.add :gvasgn do
source '$a = true'
singleton_mutations
mutation '$a__mutant__ = true'
mutation '$a = false'
mutation '$a = nil'
end