free_mutant/meta/match_current_line.rb
2014-12-21 20:48:41 +00:00

15 lines
301 B
Ruby

# encoding: utf-8
Mutant::Meta::Example.add do
source 'true if /foo/'
singleton_mutations
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/'
mutation 'true'
end