[rcl action] Addresses peer review comments (#329)

This commit is contained in:
Michel Hidalgo 2018-11-14 19:33:21 -03:00
parent d77c9b6965
commit 276aed1dff
3 changed files with 48 additions and 23 deletions

View file

@ -62,7 +62,7 @@ TEST_P(TestActionDerivedName, validate_action_derived_getter)
ret = test_subject.get_action_derived_name(
invalid_action_name, default_allocator,
&action_derived_name);
EXPECT_EQ(RCL_RET_INVALID_ARGUMENT, ret);
EXPECT_EQ(RCL_RET_ACTION_NAME_INVALID, ret);
action_derived_name = NULL;
rcl_allocator_t invalid_allocator =