aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-11-13 19:58:52 -0500
committerGitHub <noreply@github.com>2016-11-13 19:58:52 -0500
commit087921af292dbbfcaab4dc716f0f449a9f251957 (patch)
tree5e95d693b3b7fc3d00e47f85b65bb92bc114e5e0
parentf3aff3ecb19a9af4fb0f95a318c576e9a223dc7b (diff)
parent546ff50d823d07368358f797632caaefa5776c71 (diff)
downloadrails-087921af292dbbfcaab4dc716f0f449a9f251957.tar.gz
rails-087921af292dbbfcaab4dc716f0f449a9f251957.tar.bz2
rails-087921af292dbbfcaab4dc716f0f449a9f251957.zip
Merge pull request #27033 from vipulnsward/fix-bignum-warning
Remove warning from Bignum constant access
-rw-r--r--activesupport/test/core_ext/numeric_ext_test.rb1
1 files changed, 0 insertions, 1 deletions
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