From 35e0269b2133de6a22bdaf03d31dd13c94e61e84 Mon Sep 17 00:00:00 2001 From: "Jose F. Martinez Pedraza" Date: Thu, 29 Jul 2021 14:01:26 -0400 Subject: [PATCH] Fix #1725 Update time_UT.c to use UtAssert_MIR --- modules/time/ut-coverage/time_UT.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/modules/time/ut-coverage/time_UT.c b/modules/time/ut-coverage/time_UT.c index fd8bea75d..9ab3829a9 100644 --- a/modules/time/ut-coverage/time_UT.c +++ b/modules/time/ut-coverage/time_UT.c @@ -848,9 +848,8 @@ void Test_Print(void) } else { - UtAssertEx(false, UTASSERT_CASETYPE_MIR, __FILE__, __LINE__, - "Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", time.Seconds, - time.Subseconds, timeBuf); + UtAssert_MIR("Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", + time.Seconds, time.Subseconds, timeBuf); } /* Test with a time value that causes seconds >= 60 when @@ -867,9 +866,8 @@ void Test_Print(void) } else { - UtAssertEx(false, UTASSERT_CASETYPE_MIR, __FILE__, __LINE__, - "Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", time.Seconds, - time.Subseconds, timeBuf); + UtAssert_MIR("Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", + time.Seconds, time.Subseconds, timeBuf); } /* Test with mission representative time values */ @@ -884,9 +882,8 @@ void Test_Print(void) } else { - UtAssertEx(false, UTASSERT_CASETYPE_MIR, __FILE__, __LINE__, - "Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", time.Seconds, - time.Subseconds, timeBuf); + UtAssert_MIR("Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", + time.Seconds, time.Subseconds, timeBuf); } /* Test with maximum seconds and subseconds values */ @@ -901,9 +898,8 @@ void Test_Print(void) } else { - UtAssertEx(false, UTASSERT_CASETYPE_MIR, __FILE__, __LINE__, - "Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", time.Seconds, - time.Subseconds, timeBuf); + UtAssert_MIR("Confirm adding seconds = %u, subseconds = %u to configured EPOCH results in time %s", + time.Seconds, time.Subseconds, timeBuf); } }