free_mutant/meta/until.rb
Markus Schirp 017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00

17 lines
481 B
Ruby

# encoding: utf-8
Mutant::Meta::Example.add do
source 'until true; foo; bar; end'
singleton_mutations
mutation 'until true; bar; end'
mutation 'until true; foo; end'
mutation 'until true; end'
mutation 'until false; foo; bar; end'
mutation 'until nil; foo; bar; end'
mutation 'until true; foo; nil; end'
mutation 'until true; foo; self; end'
mutation 'until true; nil; bar; end'
mutation 'until true; self; bar; end'
mutation 'until true; raise; end'
end