[Groonga-commit] groonga/groonga [master] test: rename variable name to proper one

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 16日 (水) 11:38:55 JST


HAYASHI Kentaro	2012-05-16 11:38:55 +0900 (Wed, 16 May 2012)

  New Revision: 99ab3f9da748f9549ab7f4200e89c325f3f9e31e

  Log:
    test: rename variable name to proper one
    
    f->
    testfile

  Modified files:
    test/function/tools/geo/generate-grntest-data.rb

  Modified: test/function/tools/geo/generate-grntest-data.rb (+2 -2)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-16 11:37:21 +0900 (7bb1fe7)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-16 11:38:55 +0900 (a666dca)
@@ -295,12 +295,12 @@ if __FILE__ == $0
             # duplicated?
             puts "Warning! #{testname} duplicated"
           end
-          File.open(testname, "w+") { |f|
+          File.open(testname, "w+") { |testfile|
             if OPTS.has_key? :verbose
               puts testname
               puts dottest
             end
-            f.puts dottest
+            testfile.puts(dottest)
           }
         }
       end




Groonga-commit メーリングリストの案内
Back to archive index