Sha256: 7ef337bb6946648d047f085c5a52d048c983ab100f548dd799807924750b3ba3

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

# encoding: utf-8

Mutant::Meta::Example.add do
  source 'begin; rescue ExceptionA, ExceptionB => error; true; end'

  mutation 'nil'
  mutation 'begin; rescue ExceptionA, ExceptionB; true; end'
  mutation 'begin; rescue ExceptionA, ExceptionB => error; false; end'
  mutation 'begin; rescue ExceptionA, ExceptionB => error; nil; end'
  mutation 'begin; rescue ExceptionA => error; true; end'
  mutation 'begin; rescue ExceptionB => error; true; end'
end

Mutant::Meta::Example.add do
  source 'begin; rescue SomeException => error; true; end'

  mutation 'nil'
  mutation 'begin; rescue SomeException; true; end'
  mutation 'begin; rescue SomeException => error; false; end'
  mutation 'begin; rescue SomeException => error; nil; end'
end

Mutant::Meta::Example.add do
  source 'begin; rescue => error; true end'

  mutation 'nil'
  mutation 'begin; rescue => error; false; end'
  mutation 'begin; rescue => error; nil; end'
  mutation 'begin; rescue; true; end'
end

Mutant::Meta::Example.add do
  source 'begin; rescue; true end'

  mutation 'nil'
  mutation 'begin; rescue; false; end'
  mutation 'begin; rescue; nil; end'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mutant-0.5.18 meta/rescue.rb