Sha256: 9b2883712c246c19747dc27845fd1d70198752cef5ede018767f67335f65bc20

Contents?: true

Size: 622 Bytes

Versions: 3

Compression:

Stored size: 622 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :while do
  source 'while true; foo; bar; end'

  singleton_mutations
  mutation 'while true; self; bar; end'
  mutation 'while true; foo; self; end'
  mutation 'while true; bar; end'
  mutation 'while true; foo; end'
  mutation 'while true; end'
  mutation 'while false; foo; bar; end'
  mutation 'while true;  foo; nil; end'
  mutation 'while true;  nil; bar; end'
  mutation 'while true;  raise; end'
end

Mutant::Meta::Example.add :while do
  source 'while true; end'

  singleton_mutations
  mutation 'while true; raise; end'
  mutation 'while false; end'
end

Version data entries

3 entries across 3 versions & 1 rubygems

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