1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/test_find.rb: remove unused variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2014-02-17 02:39:58 +00:00
parent 3cf3a759c8
commit 6f667c6460
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Mon Feb 17 11:27:36 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/test_find.rb: remove unused variables.
Sun Feb 17 02:12:00 2014 Kenta Murata <mrkn@mrkn.jp>
* ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.

View file

@ -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|