
* This is needed to relate examples to node types for nodes that cannot stand alone. Example are :where nodes that do not have syntax outside a :case
8 lines
163 B
Ruby
8 lines
163 B
Ruby
Mutant::Meta::Example.add :blockarg do
|
|
source 'foo { |&bar| }'
|
|
|
|
singleton_mutations
|
|
mutation 'foo { |&bar| raise }'
|
|
mutation 'foo {}'
|
|
mutation 'foo'
|
|
end
|