summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-29 14:46:45 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-29 14:46:45 +0000
commit147a09f86ea0e420789d4127f5c1498bde3a4686 (patch)
treee5fbad3ee03eb3c3ebfd5377b78fdd4d3de6fc18 /test
parentbc7ae41e0f8770000b38dd4be81cf331d58f6d1c (diff)
suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/mkmf/test_find_executable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mkmf/test_find_executable.rb b/test/mkmf/test_find_executable.rb
index 6030a8e605..87e1d03c51 100644
--- a/test/mkmf/test_find_executable.rb
+++ b/test/mkmf/test_find_executable.rb
@@ -22,7 +22,7 @@ class TestMkmf
exts.each do |ext|
full = name+ext
begin
- open(full, "w") {|f| f.chmod(0755)}
+ open(full, "w") {|ff| ff.chmod(0755)}
result = f.do_find_executable(name)
ensure
File.unlink(full)