free_mutant/meta/regexp/regexp_eol_anchor.rb
2018-09-12 13:15:43 +00:00

10 lines
159 B
Ruby

# frozen_string_literal: true
Mutant::Meta::Example.add :regexp_eol_anchor do
source '/$/'
singleton_mutations
regexp_mutations
mutation '/\z/'
end