Sha256: d2ea9950241429bf7fb056e0ccd0195237131dd91fa58e17ff1802b7cf866e35

Contents?: true

Size: 490 Bytes

Versions: 3

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :casgn do
  source 'A = true'

  mutation 'A__MUTANT__ = true'
  mutation 'A = false'
  mutation 'remove_const :A'
end

Mutant::Meta::Example.add :casgn do
  source 'self::A = true'

  mutation 'self::A__MUTANT__ = true'
  mutation 'self::A = false'
  mutation 'self.remove_const :A'
end

Mutant::Meta::Example.add :casgn do
  source 'A &&= true'

  singleton_mutations
  mutation 'A__MUTANT__ &&= true'
  mutation 'A &&= false'
end

Version data entries

3 entries across 3 versions & 1 rubygems

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