From 42e7b60862859003a47ff6f3f317432842beaccb Mon Sep 17 00:00:00 2001 From: Chen Lihui Date: Thu, 13 Jan 2022 18:28:23 +0800 Subject: [PATCH] fix for uncrustify and typo Signed-off-by: Chen Lihui --- rcl/test/rcl/test_subscription.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcl/test/rcl/test_subscription.cpp b/rcl/test/rcl/test_subscription.cpp index b4f6e28ad..4cc278c8c 100644 --- a/rcl/test/rcl/test_subscription.cpp +++ b/rcl/test/rcl/test_subscription.cpp @@ -1201,7 +1201,7 @@ TEST_F( ret = rcl_subscription_set_content_filter( &subscription, &options); - if(RCL_RET_UNSUPPORTED == RCL_RET_OK) { + if (RCL_RET_UNSUPPORTED == ret) { is_cft_support = false; } else { ASSERT_EQ(RCL_RET_OK, ret) << rcl_get_error_string().str;