meta/kwrestarg.rb in mutest-0.0.3 vs meta/kwrestarg.rb in mutest-0.0.4
- old
+ new
@@ -7,9 +7,17 @@
mutation 'def foo(**bar); raise; end'
mutation 'def foo(**bar); super; end'
end
Mutest::Meta::Example.add :kwrestarg do
+ source 'def foo(**_bar); end'
+
+ mutation 'def foo; end'
+ mutation 'def foo(**_bar); raise; end'
+ mutation 'def foo(**_bar); super; end'
+end
+
+Mutest::Meta::Example.add :kwrestarg do
source 'def foo(**); end'
mutation 'def foo; end'
mutation 'def foo(**); raise; end'
mutation 'def foo(**); super; end'