summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-17 02:40:53 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-17 02:40:53 +0000
commitedaf199fd3096426daddbc9c2ba3db4e8ed27261 (patch)
tree46c9e4b3bd56f0f764f0ffa0d23c6ec59b4c1d94 /test
parente643522940258e2746b436f0b1080ebc713f273b (diff)
downloadruby-edaf199fd3096426daddbc9c2ba3db4e8ed27261.tar.gz
ruby-edaf199fd3096426daddbc9c2ba3db4e8ed27261.tar.xz
ruby-edaf199fd3096426daddbc9c2ba3db4e8ed27261.zip
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):
shut up warning. see [ruby-dev:37437] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/bigdecimal/test_bigdecimal.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb
index fd5b4afd9..7eecc1ade 100644
--- a/test/bigdecimal/test_bigdecimal.rb
+++ b/test/bigdecimal/test_bigdecimal.rb
@@ -256,8 +256,8 @@ class TestBigDecimal < Test::Unit::TestCase
def test_hash
a = []
- x = BigDecimal.new("1")
- 10.times { a << x *= 10 }
+ b = BigDecimal.new("1")
+ 10.times { a << b *= 10 }
h = {}
a.each_with_index {|x, i| h[x] = i }
a.each_with_index do |x, i|