[Groonga-commit] groonga/groonga [master] test: fix to set proper initial value

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 8日 (金) 17:14:13 JST


HAYASHI Kentaro	2012-06-08 17:14:13 +0900 (Fri, 08 Jun 2012)

  New Revision: 01fb54e483e64e6d637f02b47e271412237dbdf6

  Log:
    test: fix to set proper initial value

  Modified files:
    test/benchmark/geo-distance-summary.rb

  Modified: test/benchmark/geo-distance-summary.rb (+1 -1)
===================================================================
--- test/benchmark/geo-distance-summary.rb    2012-06-08 13:07:39 +0900 (5a02434)
+++ test/benchmark/geo-distance-summary.rb    2012-06-08 17:14:13 +0900 (6559cb6)
@@ -19,7 +19,7 @@ class BenchmarkSummary
         if total[key]
           total[key] = total[key] + value
         else
-          total[key] = 0
+          total[key] = value
         end
       end
     end




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