2014-06-02 08:57:14 -04:00
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
Mutant::Meta::Example.add do
|
|
|
|
source ':"foo#{bar}baz"'
|
|
|
|
|
2014-06-05 12:37:31 -04:00
|
|
|
singleton_mutations
|
2014-11-09 14:31:28 -05:00
|
|
|
# TODO: Unparser imperfection two asts with same source.
|
|
|
|
mutation s(:dsym, s(:nil), s(:begin, s(:send, nil, :bar)), s(:str, 'baz'))
|
|
|
|
mutation s(:dsym, s(:self), s(:begin, s(:send, nil, :bar)), s(:str, 'baz'))
|
|
|
|
mutation s(:dsym, s(:str, 'foo'), s(:begin, s(:self)), s(:str, 'baz'))
|
|
|
|
mutation s(:dsym, s(:str, 'foo'), s(:begin, s(:nil)), s(:str, 'baz'))
|
|
|
|
mutation s(:dsym, s(:str, 'foo'), s(:begin, s(:send, nil, :bar)), s(:nil))
|
|
|
|
mutation s(:dsym, s(:str, 'foo'), s(:begin, s(:send, nil, :bar)), s(:self))
|
2014-06-02 08:57:14 -04:00
|
|
|
end
|