Navigation Menu

Skip to content

Commit

Permalink
Test Reducer#sum for hash values correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 30, 2015
1 parent feade6b commit 1a3bc4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/test_reducer.rb
Expand Up @@ -54,9 +54,9 @@ def create_record(*columns)
: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)
Expand Down

0 comments on commit 1a3bc4d

Please sign in to comment.