diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-17 06:19:03 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-17 06:19:03 +0000 |
| commit | b44316b69c25f51073e554c065ab094801774233 (patch) | |
| tree | a79f54bec520d934ff7846d903cf313fd4a6f6b9 /test | |
| parent | f19af096a5a45c0777420af4fe8baaaef21dfcb1 (diff) | |
merges r20805 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@20835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/bigdecimal/test_bigdecimal.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bigdecimal/test_bigdecimal.rb b/test/bigdecimal/test_bigdecimal.rb index d129d9306..0c9aef0f0 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| |
