Use Float#eql? to worakround RBX bug

This commit is contained in:
Markus Schirp 2014-06-20 14:51:56 +00:00
parent dea1a5741a
commit 7f66748144

View file

@ -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?