From 7a3304194e74cd9261f979e7806c792727a48755 Mon Sep 17 00:00:00 2001 From: "Ching-Hsin,Lee" Date: Mon, 8 Jul 2024 17:15:49 +0800 Subject: [PATCH] Remove redundant portGET_CORE_ID() call in unit test --- FreeRTOS/Test/CMock/smp/config_assert/config_assert_utest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/FreeRTOS/Test/CMock/smp/config_assert/config_assert_utest.c b/FreeRTOS/Test/CMock/smp/config_assert/config_assert_utest.c index c1ddf191f0..deec0c67f1 100644 --- a/FreeRTOS/Test/CMock/smp/config_assert/config_assert_utest.c +++ b/FreeRTOS/Test/CMock/smp/config_assert/config_assert_utest.c @@ -281,9 +281,6 @@ void test_prvYieldForTask_assert_yieldpending_core_is_false( void ) vFakePortGetCoreID_ExpectAndReturn( 0 ); vFakePortGetCoreID_ExpectAndReturn( 1 ); vFakePortGetCoreID_ExpectAndReturn( 1 ); - vFakePortGetCoreID_ExpectAndReturn( 1 ); - vFakePortGetCoreID_ExpectAndReturn( 0 ); - vFakePortGetCoreID_ExpectAndReturn( 0 ); vFakePortGetCoreID_ExpectAndReturn( 0 ); EXPECT_ASSERT_BREAK( vTaskRemoveFromUnorderedEventList( &xEventListItem,