[Groonga-commit] groonga/groonga [master] test: separate with an underscore

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 21日 (月) 11:11:51 JST


HAYASHI Kentaro	2012-05-21 11:11:51 +0900 (Mon, 21 May 2012)

  New Revision: 13971bc37034d211445d32da4bd04df41d74e0af

  Log:
    test: separate with an underscore

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+4 -4)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-21 11:04:51 +0900 (d91b601)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-21 11:11:51 +0900 (1f35574)
@@ -562,7 +562,7 @@ if __FILE__ == $0
             file_prefix = app_type + "_"
           end
 
-          dottest = grndata.generate_test_data(app_type)
+          dot_test = grndata.generate_test_data(app_type)
 
           if filename and filename != ""
             if type == "line"
@@ -588,12 +588,12 @@ if __FILE__ == $0
             # duplicated?
             puts("Warning! [#{i}] #{test_name} duplicated")
           end
-          File.open(test_name, "w+") do |testfile|
+          File.open(test_name, "w+") do |test_file|
             if OPTS.has_key?(:verbose)
               puts(test_name)
-              puts(dottest)
+              puts(dot_test)
             end
-            testfile.puts(dottest)
+            test_file.puts(dot_test)
           end
         end
       end




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