[Groonga-commit] groonga/groonga [master] test: treat ".test" as default extension

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 30日 (水) 17:57:34 JST


HAYASHI Kentaro	2012-05-30 17:57:34 +0900 (Wed, 30 May 2012)

  New Revision: 850db3bc278ca5af5e5c1fdeaadc80e0d56dfa35

  Log:
    test: treat ".test" as default extension

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+3 -3)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-30 17:23:17 +0900 (331185a)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-30 17:57:34 +0900 (b59217d)
@@ -364,10 +364,10 @@ class GrnTestData
   end
 
   def generate_filename
-    if****@optio*****_key?(:test) and @options[:test]
-      "#{latitude_position}.test"
-    else
+    if****@optio*****_key?(:expected) and @options[:expected]
       "#{latitude_position}.expected"
+    else
+      "#{latitude_position}.test"
     end
   end
 




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