From 546ff50d823d07368358f797632caaefa5776c71 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sun, 13 Nov 2016 18:08:57 -0500 Subject: Remove warning from access to Bignum class, 2**64 is already a known bignum value. See also http://patshaughnessy.net/2014/1/9/how-big-is-a-bignum for smallest bignum value --- activesupport/test/core_ext/numeric_ext_test.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/activesupport/test/core_ext/numeric_ext_test.rb b/activesupport/test/core_ext/numeric_ext_test.rb index dfc9bc24c7..c60b654d1d 100644 --- a/activesupport/test/core_ext/numeric_ext_test.rb +++ b/activesupport/test/core_ext/numeric_ext_test.rb @@ -423,7 +423,6 @@ class NumericExtFormattingTest < ActiveSupport::TestCase # TODO: Remove positive and negative tests when we drop support to ruby < 2.3 b = 2**64 - b *= b until Bignum === b T_ZERO = b.coerce(0).first T_ONE = b.coerce(1).first -- cgit v1.2.3