Fix warnings in literal range mutator
This commit is contained in:
parent
a432421005
commit
133713b4fd
1 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@ module Mutant
|
||||||
def dispatch
|
def dispatch
|
||||||
emit_nil
|
emit_nil
|
||||||
emit_inverse
|
emit_inverse
|
||||||
emit_start_mutations
|
emit_lower_bound_mutations
|
||||||
emit_end_mutations
|
emit_upper_bound_mutations
|
||||||
end
|
end
|
||||||
|
|
||||||
# Return inverse node
|
# Return inverse node
|
||||||
|
@ -49,7 +49,7 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def emit_end_mutations
|
def emit_upper_bound_mutations
|
||||||
emit_self(NAN, _end)
|
emit_self(NAN, _end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ module Mutant
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def emit_start_mutations
|
def emit_lower_bound_mutations
|
||||||
emit_self(start, INFINITY)
|
emit_self(start, INFINITY)
|
||||||
emit_self(start, NAN)
|
emit_self(start, NAN)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue