4a9ab9340e
The mutation examples are now introspectable, this allows to render nice index or performing better automated analysis against the corpus.
10 lines
167 B
Ruby
10 lines
167 B
Ruby
# encoding: utf-8
|
|
|
|
Mutant::Meta::Example.add do
|
|
source 'foo { |&bar| }'
|
|
|
|
mutation 'foo { |&bar| raise }'
|
|
mutation 'foo {}'
|
|
mutation 'foo'
|
|
mutation 'nil'
|
|
end
|