From 6f667c6460f228684ffb0696e26c0b0a6739daea Mon Sep 17 00:00:00 2001 From: hsbt Date: Mon, 17 Feb 2014 02:39:58 +0000 Subject: * test/test_find.rb: remove unused variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_find.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_find.rb') 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| -- cgit v1.2.3