[Groonga-commit] groonga/groonga [master] test: add missing parenthesis

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 16日 (水) 17:18:45 JST


HAYASHI Kentaro	2012-05-16 17:18:45 +0900 (Wed, 16 May 2012)

  New Revision: 8691c920b81e1c458c0801e152af9ab191c65db1

  Log:
    test: add missing parenthesis

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+5 -5)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-16 17:16:38 +0900 (be9daa5)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-16 17:18:45 +0900 (7692e2a)
@@ -323,11 +323,11 @@ if __FILE__ == $0
         filename = grndata.generate_filename
 
         if OPTS.has_key?(:verbose)
-          puts "#{line.chomp}"
+          puts("#{line.chomp}")
         end
         # show new generated filename
         #puts grndata.generate_new_data(line, prefix, quadrant, type, filename)
-        puts "#{prefix}/#{quadrant}/#{type}/#{filename}"
+        puts("#{prefix}/#{quadrant}/#{type}/#{filename}")
       elsif OPTS.has_key?(:test)
         app_types.each do |app_type|
           file_prefix = ""
@@ -351,12 +351,12 @@ if __FILE__ == $0
 
           if File.exists?(testname)
             # duplicated?
-            puts "Warning! #{testname} duplicated"
+            puts("Warning! #{testname} duplicated")
           end
           File.open(testname, "w+") do |testfile|
             if OPTS.has_key?(:verbose)
-              puts testname
-              puts dottest
+              puts(testname)
+              puts(dottest)
             end
             testfile.puts(dottest)
           end




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