[Groonga-commit] droonga/droonga-engine at 1a3bc4d [master] Test Reducer#sum for hash values correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 30 17:01:43 JST 2015


YUKI Hiroshi	2015-04-30 17:01:43 +0900 (Thu, 30 Apr 2015)

  New Revision: 1a3bc4d7bf5e64fbc3b3c984235039426e4f7525
  https://github.com/droonga/droonga-engine/commit/1a3bc4d7bf5e64fbc3b3c984235039426e4f7525

  Message:
    Test Reducer#sum for hash values correctly

  Modified files:
    test/unit/test_reducer.rb

  Modified: test/unit/test_reducer.rb (+3 -3)
===================================================================
--- test/unit/test_reducer.rb    2015-04-30 17:00:13 +0900 (05b6c7f)
+++ test/unit/test_reducer.rb    2015-04-30 17:01:43 +0900 (83179ab)
@@ -54,9 +54,9 @@ class ReducerTest < Test::Unit::TestCase
       :right    => [1],
     },
     :hash => {
-      :expected => [0, 1],
-      :left     => [0],
-      :right    => [1],
+      :expected => {:a => 0, :b => 1, :c => 2},
+      :left     => {:a => 0, :c => 2},
+      :right    => {:b => 1, :c => 3},
     },
   )
   def test_sum(data)
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index