Sha256: 4197e1a5ddd280df445368fe093d5885bab2dd9dedfdc4fad8a4df24e4addd6d

Contents?: true

Size: 492 Bytes

Versions: 10

Compression:

Stored size: 492 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :lvasgn do
  source 'a = true'

  singleton_mutations
  mutation 'a__mutant__ = true'
  mutation 'a = false'
  mutation 'a = nil'
end

Mutant::Meta::Example.add :array, :lvasgn do
  source 'a = *b'

  singleton_mutations
  mutation 'a__mutant__ = *b'
  mutation 'a = nil'
  mutation 'a = self'
  mutation 'a = []'
  mutation 'a = [nil]'
  mutation 'a = [self]'
  mutation 'a = [*self]'
  mutation 'a = [*nil]'
  mutation 'a = [b]'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mutant-0.9.8 meta/lvasgn.rb
mutant-0.9.7 meta/lvasgn.rb
mutant-0.9.6 meta/lvasgn.rb
mutant-0.9.5 meta/lvasgn.rb
mutant-0.9.4 meta/lvasgn.rb
mutant-0.9.3 meta/lvasgn.rb
mutant-0.9.2 meta/lvasgn.rb
mutant-0.9.1 meta/lvasgn.rb
mutant-0.9.0 meta/lvasgn.rb
mutant-0.8.24 meta/lvasgn.rb