Sha256: 38be54c4e254f6ee55d47b055497bb267a09ad918f94de6ebc552bbc349cbd6e

Contents?: true

Size: 483 Bytes

Versions: 23

Compression:

Stored size: 483 Bytes

Contents

# encoding: utf-8

Mutant::Meta::Example.add do
  source 'a = nil; a'

  mutation 'a = nil; nil'
  mutation 'a = nil; self'
  mutation 'a = nil'
  # TODO: fix invalid AST
  #   These ASTs are not valid and should NOT be emitted
  #   Mutations of lvarasgn need to be special cased to avoid this.
  mutation s(:begin, s(:lvasgn, :a__mutant__, s(:nil)), s(:lvar, :a))
  mutation s(:begin, s(:nil), s(:lvar, :a))
  mutation s(:begin, s(:self), s(:lvar, :a))
  mutation s(:lvar, :a)
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
mutant-0.7.8 meta/lvar.rb
mutant-0.7.7 meta/lvar.rb
mutant-0.7.6 meta/lvar.rb
mutant-0.7.5 meta/lvar.rb
mutant-0.7.4 meta/lvar.rb
mutant-0.7.3 meta/lvar.rb
mutant-0.7.2 meta/lvar.rb
mutant-0.7.1 meta/lvar.rb
mutant-0.6.7 meta/lvar.rb
mutant-0.6.6 meta/lvar.rb
mutant-0.6.5 meta/lvar.rb
mutant-0.6.4 meta/lvar.rb
mutant-0.6.3 meta/lvar.rb
mutant-0.6.2 meta/lvar.rb
mutant-0.6.0 meta/lvar.rb
mutant-0.5.26 meta/lvar.rb
mutant-0.5.25 meta/lvar.rb
mutant-0.5.24 meta/lvar.rb
mutant-0.5.23 meta/lvar.rb
mutant-0.5.22 meta/lvar.rb