ruby-changes:32940
From: hsbt <ko1@a...>
Date: Mon, 17 Feb 2014 11:40:02 +0900 (JST)
Subject: [ruby-changes:32940] hsbt:r45019 (trunk): * test/test_find.rb: remove unused variables.
hsbt 2014-02-17 11:39:58 +0900 (Mon, 17 Feb 2014) New Revision: 45019 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45019 Log: * test/test_find.rb: remove unused variables. Modified files: trunk/ChangeLog trunk/test/test_find.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 45018) +++ ChangeLog (revision 45019) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Feb 17 11:27:36 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * test/test_find.rb: remove unused variables. + Sun Feb 17 02:12:00 2014 Kenta Murata <mrkn@m...> * ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard. Index: test/test_find.rb =================================================================== --- test/test_find.rb (revision 45018) +++ test/test_find.rb (revision 45019) @@ -94,7 +94,7 @@ class TestFind < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_find.rb#L94 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 https://github.com/ruby/ruby/blob/trunk/test/test_find.rb#L157 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 https://github.com/ruby/ruby/blob/trunk/test/test_find.rb#L178 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| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/