aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_find.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-17 02:39:58 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-17 02:39:58 +0000
commit6f667c6460f228684ffb0696e26c0b0a6739daea (patch)
tree76176527336f349490ca6c29751032d01e542e58 /test/test_find.rb
parent3cf3a759c8e4359ad4cdbbcc7bc368ac1d718ea2 (diff)
downloadruby-6f667c6460f228684ffb0696e26c0b0a6739daea.tar.gz
* test/test_find.rb: remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_find.rb')
-rw-r--r--test/test_find.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_find.rb b/test/test_find.rb
index b26debe547..b9246510ed 100644
--- a/test/test_find.rb
+++ b/test/test_find.rb
@@ -94,7 +94,7 @@ class TestFind < Test::Unit::TestCase
skip "no meaning test on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
Dir.mktmpdir {|d|
Dir.mkdir(dir = "#{d}/dir")
- File.open(file = "#{dir}/foo", "w"){}
+ File.open("#{dir}/foo", "w"){}
begin
File.chmod(0300, dir)
a = []
@@ -157,7 +157,7 @@ class TestFind < Test::Unit::TestCase
File.open(file_b = "#{dir_1}/b", "w"){}
File.open(file_c = "#{dir_1}/c", "w"){}
Dir.mkdir(dir_d = "#{dir_1}/d")
- File.open(file_de = "#{dir_d}/e", "w"){}
+ File.open("#{dir_d}/e", "w"){}
dir_2 = "#{d}/d2"
a = []
Find.find(d) {|f|
@@ -178,7 +178,7 @@ class TestFind < Test::Unit::TestCase
File.open(file_b = "#{dir_1}/b", "w"){}
File.open(file_c = "#{dir_1}/c", "w"){}
Dir.mkdir(dir_d = "#{dir_1}/d")
- File.open(file_de = "#{dir_d}/e", "w"){}
+ File.open("#{dir_d}/e", "w"){}
dir_2 = "#{d}/d2"
a = []
Find.find(d) {|f|