2018-09-12 14:21:24 +00:00
|
|
|
# frozen_string_literal: true
|
2018-09-12 13:15:43 +00:00
|
|
|
|
2016-07-24 14:39:59 -07:00
|
|
|
Mutant::Meta::Example.add :regexp_bos_anchor do
|
|
|
|
source '/\A/'
|
|
|
|
|
|
|
|
singleton_mutations
|
2016-08-14 14:25:52 -07:00
|
|
|
regexp_mutations
|
2016-07-24 14:39:59 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
Mutant::Meta::Example.add :regexp_bos_anchor do
|
|
|
|
source '/^#{a}/'
|
|
|
|
|
|
|
|
singleton_mutations
|
2016-08-14 14:25:52 -07:00
|
|
|
regexp_mutations
|
2016-07-24 14:39:59 -07:00
|
|
|
|
|
|
|
mutation '/^#{nil}/'
|
|
|
|
mutation '/^#{self}/'
|
|
|
|
end
|