free_mutant/meta/super.rb
Markus Schirp 4a9ab9340e Define expected mutations with less redundancy
The mutation examples are now introspectable, this allows to render nice
index or performing better automated analysis against the corpus.
2014-06-02 14:05:11 +00:00

26 lines
402 B
Ruby

# encoding: utf-8
Mutant::Meta::Example.add do
source 'super'
mutation 'nil'
end
Mutant::Meta::Example.add do
source 'super()'
mutation 'super'
mutation 'nil'
end
Mutant::Meta::Example.add do
source 'super(foo, bar)'
mutation 'super'
mutation 'super()'
mutation 'super(foo)'
mutation 'super(bar)'
mutation 'super(foo, nil)'
mutation 'super(nil, bar)'
mutation 'nil'
end