Sha256: e9827acbc51acb3003816eabc37d3cb2a9d5bc9dfc5623d6b0ecae767fbbdd53

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :match_current_line do
  source 'true if /foo/'

  singleton_mutations
  mutation 'false if /foo/'
  mutation 'true if //'
  mutation 'true if true'
  mutation 'true if false'
  mutation 'true if nil'
  mutation 'true if /nomatch\A/'
  mutation 'true'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mutant-0.9.11 meta/match_current_line.rb
mutant-0.9.10 meta/match_current_line.rb
mutant-0.9.9 meta/match_current_line.rb