Skip to content

Commit

Permalink
Fix wrong test expectations (#1497)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Dec 21, 2020
1 parent 6257103 commit 715b0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp/test/rclcpp/test_publisher.cpp
Expand Up @@ -506,6 +506,6 @@ TEST_F(TestPublisher, run_event_handlers) {

for (const auto & handler : publisher->get_event_handlers()) {
std::shared_ptr<void> data = handler->take_data();
EXPECT_THROW(handler->execute(data), std::runtime_error);
handler->execute(data);
}
}

0 comments on commit 715b0e9

Please sign in to comment.