Blob Blame History Raw
From 8683ac5983ddfd8b47b6aac6ab51269611610f42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafael=20Fran=C3=A7a?= <rafaelmfranca@gmail.com>
Date: Sun, 13 Nov 2016 19:58:52 -0500
Subject: [PATCH] Merge pull request #27033 from vipulnsward/fix-bignum-warning

Remove warning from Bignum constant access
---
 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 69c30a8..79a4802 100644
--- a/activesupport/test/core_ext/numeric_ext_test.rb
+++ b/activesupport/test/core_ext/numeric_ext_test.rb
@@ -425,7 +425,6 @@ def test_in_milliseconds
 
   # 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