2018-09-12 14:21:24 +00:00
|
|
|
# frozen_string_literal: true
|
2018-09-12 13:15:43 +00:00
|
|
|
|
2016-03-19 15:13:05 +00:00
|
|
|
Mutant::Meta::Example.add :defined? do
|
2014-06-02 12:57:14 +00:00
|
|
|
source 'defined?(foo)'
|
|
|
|
|
2015-08-10 13:53:19 +00:00
|
|
|
singleton_mutations
|
2014-06-02 12:57:14 +00:00
|
|
|
mutation 'defined?(nil)'
|
2015-08-09 23:01:29 -07:00
|
|
|
mutation 'true'
|
2014-06-02 12:57:14 +00:00
|
|
|
end
|