Use Float#eql? to worakround RBX bug
This commit is contained in:
parent
dea1a5741a
commit
7f66748144
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def success?
|
||||
coverage.round(COVERAGE_PRECISION).equal?(config.expected_coverage.round(COVERAGE_PRECISION))
|
||||
coverage.round(COVERAGE_PRECISION).eql?(config.expected_coverage.round(COVERAGE_PRECISION))
|
||||
end
|
||||
memoize :success?
|
||||
|
||||
|
|
Loading…
Reference in a new issue