free_mutant/meta/and_asgn.rb

15 lines
259 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-09-12 09:15:43 -04:00
Mutant::Meta::Example.add :and_asgn do
source 'a &&= 1'
singleton_mutations
mutation 'a__mutant__ &&= 1'
mutation 'a &&= nil'
mutation 'a &&= 0'
mutation 'a &&= -1'
mutation 'a &&= 2'
mutation 'a &&= self'
end