Sha256: ad35334e573ab7e6c047864388a9250bb68d1d96d3c5770080c1e67afea1fd1d

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

# encoding: utf-8

Mutant::Meta::Example.add do
  source '/foo/'

  mutation '//'    # match all
  mutation '/a\A/' # match nothing
  mutation 'nil'
end

Mutant::Meta::Example.add do
  source '/#{foo.bar}n/'

  mutation '//' # match all
  mutation '/#{foo}n/'
  mutation '/a\A/'         # match nothing
  mutation '/#{nil.bar}n/'
  mutation '/#{nil}n/'
  mutation 'nil'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mutant-0.5.18 meta/regex.rb