free_mutant/meta/dstr.rb

14 lines
284 B
Ruby
Raw Normal View History

# encoding: utf-8
Mutant::Meta::Example.add do
source '"foo#{bar}baz"'
singleton_mutations
mutation '"#{nil}#{bar}baz"'
mutation '"#{self}#{bar}baz"'
mutation '"foo#{bar}#{nil}"'
mutation '"foo#{bar}#{self}"'
mutation '"foo#{nil}baz"'
mutation '"foo#{self}baz"'
end