Sha256: 49818053a16d701f63b735de4ab97e337fd48ffd3f3038b2d6ec7c54926ec294

Contents?: true

Size: 471 Bytes

Versions: 3

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

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

  singleton_mutations
  mutation 'a__mutant__ = true'
  mutation 'a = false'
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

3 entries across 3 versions & 1 rubygems

Version Path
mutant-0.9.11 meta/lvasgn.rb
mutant-0.9.10 meta/lvasgn.rb
mutant-0.9.9 meta/lvasgn.rb