Sha256: 1e73cc9fa3c824862ca089e1c369c2157bbb0003d0422bdc6c71f5f0d8ce595b

Contents?: true

Size: 690 Bytes

Versions: 17

Compression:

Stored size: 690 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 nil;   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'
  mutation 'while nil; end'
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mutant-0.9.8 meta/while.rb
mutant-0.9.7 meta/while.rb
mutant-0.9.6 meta/while.rb
mutant-0.9.5 meta/while.rb
mutant-0.9.4 meta/while.rb
mutant-0.9.3 meta/while.rb
mutant-0.9.2 meta/while.rb
mutant-0.9.1 meta/while.rb
mutant-0.9.0 meta/while.rb
mutant-0.8.24 meta/while.rb
mutant-0.8.23 meta/while.rb
mutant-0.8.22 meta/while.rb
mutant-0.8.21 meta/while.rb
mutant-0.8.20 meta/while.rb
mutant-0.8.19 meta/while.rb
mutant-0.8.18 meta/while.rb
mutant-0.8.17 meta/while.rb