summaryrefslogtreecommitdiff
path: root/test/bigdecimal/test_bigdecimal.rb
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
commit3d923f01bf3db6414dc5d38fed0524a35dafd81b (patch)
tree46c9e4b3bd56f0f764f0ffa0d23c6ec59b4c1d94 /test/bigdecimal/test_bigdecimal.rb
parent6bcd363ebf4fc4cde24fd94f48786d4da996e07e (diff)
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):
shut up warning. see [ruby-dev:37437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/bigdecimal/test_bigdecimal.rb')
-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 fd5b4afd91f..7eecc1ade15 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|