c392cb5e4b
* Mutant is ruby 2.0+ only where UTF-8 is default encoding
13 lines
282 B
Ruby
13 lines
282 B
Ruby
Mutant::Meta::Example.add do
|
|
source 'true if /foo/'
|
|
|
|
singleton_mutations
|
|
mutation 'false if /foo/'
|
|
mutation 'true if //'
|
|
mutation 'nil if /foo/'
|
|
mutation 'true if true'
|
|
mutation 'true if false'
|
|
mutation 'true if nil'
|
|
mutation 'true if /a\A/'
|
|
mutation 'true'
|
|
end
|