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
|