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.
This commit is contained in:
parent
c75729ead2
commit
4a9ab9340e
95 changed files with 1751 additions and 2116 deletions
10
meta/blockarg.rb
Normal file
10
meta/blockarg.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# encoding: utf-8
|
||||
|
||||
Mutant::Meta::Example.add do
|
||||
source 'foo { |&bar| }'
|
||||
|
||||
mutation 'foo { |&bar| raise }'
|
||||
mutation 'foo {}'
|
||||
mutation 'foo'
|
||||
mutation 'nil'
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue