7931a01476
- Adds receiver specific selector mutations - Closes #432
57 lines
1.3 KiB
Ruby
57 lines
1.3 KiB
Ruby
Mutant::Meta::Example.add do
|
|
source 'Date.parse(nil)'
|
|
|
|
singleton_mutations
|
|
mutation 'Date.parse'
|
|
mutation 'self.parse(nil)'
|
|
mutation 'Date'
|
|
mutation 'Date.jd(nil)'
|
|
mutation 'Date.civil(nil)'
|
|
mutation 'Date.strptime(nil)'
|
|
mutation 'Date.iso8601(nil)'
|
|
mutation 'Date.rfc3339(nil)'
|
|
mutation 'Date.xmlschema(nil)'
|
|
mutation 'Date.rfc2822(nil)'
|
|
mutation 'Date.rfc822(nil)'
|
|
mutation 'Date.httpdate(nil)'
|
|
mutation 'Date.jisx0301(nil)'
|
|
end
|
|
|
|
Mutant::Meta::Example.add do
|
|
source '::Date.parse(nil)'
|
|
|
|
singleton_mutations
|
|
mutation '::Date.parse'
|
|
mutation 'Date.parse(nil)'
|
|
mutation 'self.parse(nil)'
|
|
mutation '::Date'
|
|
mutation '::Date.jd(nil)'
|
|
mutation '::Date.civil(nil)'
|
|
mutation '::Date.strptime(nil)'
|
|
mutation '::Date.iso8601(nil)'
|
|
mutation '::Date.rfc3339(nil)'
|
|
mutation '::Date.xmlschema(nil)'
|
|
mutation '::Date.rfc2822(nil)'
|
|
mutation '::Date.rfc822(nil)'
|
|
mutation '::Date.httpdate(nil)'
|
|
mutation '::Date.jisx0301(nil)'
|
|
end
|
|
|
|
Mutant::Meta::Example.add do
|
|
source 'Date.iso8601(nil)'
|
|
|
|
singleton_mutations
|
|
mutation 'Date.iso8601'
|
|
mutation 'self.iso8601(nil)'
|
|
mutation 'Date'
|
|
end
|
|
|
|
Mutant::Meta::Example.add do
|
|
source 'Foo::Date.parse(nil)'
|
|
|
|
singleton_mutations
|
|
mutation 'Foo::Date.parse'
|
|
mutation 'Foo::Date'
|
|
mutation 'Date.parse(nil)'
|
|
mutation 'self.parse(nil)'
|
|
end
|