summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--test/test_find.rb6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f81062aaa..7873c6cf0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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|