Sha256: 02786c912115ed04bc1f32bbec0a299620275f48f1a59da27b97344dfba6409b

Contents?: true

Size: 360 Bytes

Versions: 20

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :kwarg do
  source 'def foo(bar: baz); end'

  mutation 'def foo; end'
  mutation 'def foo(bar: baz); raise; end'
  mutation 'def foo(bar: baz); super; end'
  mutation 'def foo(bar: nil); end'
  mutation 'def foo(bar: self); end'
  mutation 'def foo(bar:); end'
  mutation 'def foo(_bar: baz); end'
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mutant-0.9.11 meta/kwoptarg.rb
mutant-0.9.10 meta/kwoptarg.rb
mutant-0.9.9 meta/kwoptarg.rb
mutant-0.9.8 meta/kwoptarg.rb
mutant-0.9.7 meta/kwoptarg.rb
mutant-0.9.6 meta/kwoptarg.rb
mutant-0.9.5 meta/kwoptarg.rb
mutant-0.9.4 meta/kwoptarg.rb
mutant-0.9.3 meta/kwoptarg.rb
mutant-0.9.2 meta/kwoptarg.rb
mutant-0.9.1 meta/kwoptarg.rb
mutant-0.9.0 meta/kwoptarg.rb
mutant-0.8.24 meta/kwoptarg.rb
mutant-0.8.23 meta/kwoptarg.rb
mutant-0.8.22 meta/kwoptarg.rb
mutant-0.8.21 meta/kwoptarg.rb
mutant-0.8.20 meta/kwoptarg.rb
mutant-0.8.19 meta/kwoptarg.rb
mutant-0.8.18 meta/kwoptarg.rb
mutant-0.8.17 meta/kwoptarg.rb