Skip to content

Commit

Permalink
Update rcl/test/rcl/test_subscription.cpp
Browse files Browse the repository at this point in the history
for ament/ament_lint#210

Co-Authored-By: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
y-okumura-isp and jacobperron authored Feb 6, 2020
1 parent 32d03cd commit e2e3878
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rcl/test/rcl/test_subscription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ TEST_F(CLASSNAME(TestSubscriptionFixture, RMW_IMPLEMENTATION), test_subscription
{
test_msgs__msg__BasicTypes msg;
test_msgs__msg__BasicTypes__init(&msg);
OSRF_TESTING_TOOLS_CPP_SCOPE_EXIT({
OSRF_TESTING_TOOLS_CPP_SCOPE_EXIT(
{
test_msgs__msg__BasicTypes__fini(&msg);
});
ret = rcl_take(&subscription, &msg, nullptr, nullptr);
Expand Down

0 comments on commit e2e3878

Please sign in to comment.