Add mutation super -> super()

closes #309
This commit is contained in:
John Backus 2015-08-10 14:25:50 -07:00
parent 99e4a563cf
commit fbe60a5684
4 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,7 @@
* Remove invalid mutation `foo or bar` to `!(foo or bar)` see #287
* Add mutation from `#to_h` to `#to_hash` #218
* Add mutation from `#defined?` to `true` / `false` #334
* Add mutation from `super` to `super()` #309
# v0.8.1 2015-07-24

View file

@ -1,3 +1,3 @@
---
threshold: 18
total_score: 1213
total_score: 1206

View file

@ -16,6 +16,7 @@ module Mutant
# @api private
def dispatch
emit_singletons
emit(N_EMPTY_SUPER)
end
end # ZSuper

View file

@ -2,6 +2,7 @@ Mutant::Meta::Example.add do
source 'super'
singleton_mutations
mutation 'super()'
end
Mutant::Meta::Example.add do