lib/mutant/mutator/node/literal/fixnum.rb in mutant-0.3.0.beta21 vs lib/mutant/mutator/node/literal/fixnum.rb in mutant-0.3.0.beta22
- old
+ new
@@ -1,5 +1,7 @@
+# encoding: utf-8
+
module Mutant
class Mutator
class Node
class Literal < self
# Mutator for fixnum literals
@@ -26,10 +28,10 @@
# @return [Array]
#
# @api private
#
def values
- [0, 1, -value, value+1, value-1]
+ [0, 1, -value, value + 1, value - 1]
end
# Return value
#
# @return [Object]