2018-09-12 10:21:24 -04:00
|
|
|
# frozen_string_literal: true
|
2018-09-12 09:15:43 -04:00
|
|
|
|
2016-03-19 11:13:05 -04:00
|
|
|
Mutant::Meta::Example.add :restarg do
|
2016-03-06 16:19:32 -05:00
|
|
|
source 'def foo(*bar); end'
|
2014-06-02 08:57:14 -04:00
|
|
|
|
2016-03-06 16:19:32 -05:00
|
|
|
mutation 'def foo; end'
|
|
|
|
mutation 'def foo(*bar); bar = []; end'
|
|
|
|
mutation 'def foo(*bar); raise; end'
|
2018-06-27 13:10:37 -04:00
|
|
|
mutation 'def foo(*bar); super; end'
|
2014-06-02 08:57:14 -04:00
|
|
|
end
|