Skip to content

Commit

Permalink
Fix the unit tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Kalmbach <[email protected]>
  • Loading branch information
joka921 committed Dec 18, 2024
1 parent bbe56d4 commit 3e0d494
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/FilterTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,11 @@ TEST(Filter, verifyPredicateIsAppliedCorrectlyOnLazyEvaluation) {
auto referenceTable1 =
makeIdTableFromVector({{true}, {true}, {true}}, asBool);
auto referenceTable2 = makeIdTableFromVector({{true}}, asBool);
IdTable referenceTable3{0, ad_utility::makeUnlimitedAllocator<Id>()};

auto m = matchesIdTable;
EXPECT_THAT(
toVector(std::move(generator)),
ElementsAre(m(referenceTable1), m(referenceTable2), m(referenceTable3),
m(referenceTable3), m(referenceTable2)));
ElementsAre(m(referenceTable1), m(referenceTable2), m(referenceTable2)));
}

// _____________________________________________________________________________
Expand Down

0 comments on commit 3e0d494

Please sign in to comment.