2014-06-02 08:57:14 -04:00
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
Mutant::Meta::Example.add do
|
|
|
|
source 'true if /foo/'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-06-02 08:57:14 -04:00
|
|
|
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/'
|
|
|
|
end
|