Skip to content

Commit

Permalink
CountAggregationTest fix (#9930)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombujok committed Feb 15, 2017
1 parent 4f54274 commit 6264d56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void testCountAggregator_withAttributePath() {
aggregation.accumulate(createEntryWithValue(person));
}

Aggregator<Map.Entry<BigDecimal, BigDecimal>, Long> resultAggregation = Aggregators.count();Aggregators.count("age");
Aggregator<Map.Entry<BigDecimal, BigDecimal>, Long> resultAggregation = Aggregators.count("age");
resultAggregation.combine(aggregation);
long result = resultAggregation.aggregate();

Expand Down Expand Up @@ -101,7 +101,7 @@ public void testCountAggregator_withAttributePath_withNull() {
aggregation.accumulate(createEntryWithValue(person));
}

Aggregator<Map.Entry<BigDecimal, BigDecimal>, Long> resultAggregation = Aggregators.count();Aggregators.count("age");
Aggregator<Map.Entry<BigDecimal, BigDecimal>, Long> resultAggregation = Aggregators.count("age");
resultAggregation.combine(aggregation);
long result = resultAggregation.aggregate();

Expand Down

0 comments on commit 6264d56

Please sign in to comment.