summaryrefslogtreecommitdiff
path: root/test/ruby/test_sprintf_comb.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-25 23:12:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-25 23:12:50 +0000
commit37679ee584e409088a2f083594e3c4ccba486e13 (patch)
treeea8390a11414859640d50b21293a2190d99f73ce /test/ruby/test_sprintf_comb.rb
parenta967f738c83b960f23f5b04403a17ca37f049e25 (diff)
supress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_sprintf_comb.rb')
-rw-r--r--test/ruby/test_sprintf_comb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_sprintf_comb.rb b/test/ruby/test_sprintf_comb.rb
index 5dee7305fb..261732bcbc 100644
--- a/test/ruby/test_sprintf_comb.rb
+++ b/test/ruby/test_sprintf_comb.rb
@@ -229,7 +229,7 @@ class TestSprintfComb < Test::Unit::TestCase
digits.reverse!
- str = digits.map {|d| digitmap[d] }.join
+ str = digits.map {|digit| digitmap[digit] }.join
pad = ''
nlen = prefix.length + sign.length + str.length