Skip to content

Commit c7dd1e8

Browse files
committed
Integration fix: change deprecated symbol in UI
Fix use of CFE_ES_APP_ERROR, replace with current symbol name.
1 parent a34c02e commit c7dd1e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unit-test/coveragetest/coveragetest_sample_app.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@ void Test_SAMPLE_AppMain(void)
143143

144144
/*
145145
* This can validate that the internal "RunStatus" was
146-
* set to CFE_ES_APP_ERROR, by querying the struct directly.
146+
* set to CFE_ES_RunStatus_APP_ERROR, by querying the struct directly.
147147
*
148148
* It is always advisable to include the _actual_ values
149149
* when asserting on conditions, so if/when it fails, the
150150
* log will show what the incorrect value was.
151151
*/
152-
UtAssert_True(SAMPLE_AppData.RunStatus == CFE_ES_APP_ERROR,
153-
"SAMPLE_AppData.RunStatus (%d) == CFE_ES_APP_ERROR",
152+
UtAssert_True(SAMPLE_AppData.RunStatus == CFE_ES_RunStatus_APP_ERROR,
153+
"SAMPLE_AppData.RunStatus (%d) == CFE_ES_RunStatus_APP_ERROR",
154154
SAMPLE_AppData.RunStatus);
155155

156156

0 commit comments

Comments
 (0)