Skip to content

Commit

Permalink
should fail
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Jun 7, 2024
1 parent ab4b6c8 commit 045b53a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unit-test/hs_cmds_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ void HS_EnableAppMonCmd_Test_AlreadyEnabled(void)
HS_AMTEntry_t AMTable[HS_MAX_MONITORED_APPS];
int32 strCmpResult;
char ExpectedEventString[2][CFE_MISSION_EVS_MAX_MESSAGE_LENGTH];
snprintf(ExpectedEventString[0], CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Application Monitoring is *already* Enabled");
snprintf(ExpectedEventString[0], CFE_MISSION_EVS_MAX_MESSAGE_LENGTH, "Application Monitoring is *already*");

memset(AMTable, 0, sizeof(AMTable));

Expand All @@ -1126,6 +1126,7 @@ void HS_EnableAppMonCmd_Test_AlreadyEnabled(void)
UT_SetDataBuffer(UT_KEY(CFE_MSG_GetSize), &MsgSize, sizeof(MsgSize), false);

HS_AppData.AMTablePtr = AMTable;
HS_AppData.CurrentAppMonState = HS_STATE_ENABLED;

/* Execute the function being tested */
HS_EnableAppMonCmd(&UT_CmdBuf.EnableAppMonCmd);
Expand Down

0 comments on commit 045b53a

Please sign in to comment.