-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change some EXPECT_EQ to ASSERT_EQ in test_action_server. (#759)
There are several places where we run a function, check the result code, and then look at some of the output variables. In these tests, we should always use ASSERT_EQ for checking the return code; if that fails, we shouldn't go on and do the rest of the tests, as we will be testing uninitialized data at that point. Go through test_action_server and make these changes as appropriate. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
- Loading branch information
1 parent
a674160
commit 0980f88
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters