Skip to content

Commit

Permalink
#1999: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Oct 18, 2022
1 parent 3dfb707 commit 4928925
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/collection/test_collection_group.extended.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ struct ColA : Collection<ColA,Index1D> {
bool reduce_test = false;
};

void colHanlder(
void colHandler(
ColA::TestDataMsg* msg, typename ColA::TestDataMsg::CollectionType* type) {
--elem_counter;
}
Expand Down Expand Up @@ -182,22 +182,22 @@ TEST_F(TestCollectionGroup, test_collection_group_3) {
// raw msg pointer case
runBcastTestHelper([proxy, my_node]{
auto msg = ::vt::makeMessage<ColA::TestDataMsg>(my_node);
proxy.broadcastCollectiveMsg<ColA::TestDataMsg, colHanlder>(msg.get());
proxy.broadcastCollectiveMsg<ColA::TestDataMsg, colHandler>(msg.get());
});

EXPECT_EQ(elem_counter, 0);

// smart msg pointer case
runBcastTestHelper([proxy, my_node]{
auto msg = ::vt::makeMessage<ColA::TestDataMsg>(my_node);
proxy.broadcastCollectiveMsg<ColA::TestDataMsg, colHanlder>(msg);
proxy.broadcastCollectiveMsg<ColA::TestDataMsg, colHandler>(msg);
});

EXPECT_EQ(elem_counter, -numElems);

// msg constructed on the fly case
runBcastTestHelper([proxy, my_node]{
proxy.broadcastCollective<ColA::TestDataMsg, colHanlder, ColA::TestDataMsg>(
proxy.broadcastCollective<ColA::TestDataMsg, colHandler, ColA::TestDataMsg>(
my_node
);
});
Expand Down

0 comments on commit 4928925

Please sign in to comment.