Skip to content

Commit 3b9a259

Browse files
committed
ut: Repaired GetIPType loopback test
1 parent c2cd991 commit 3b9a259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/unit-test/FreeRTOS_Routing/FreeRTOS_Routing_utest.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2620,6 +2620,8 @@ void test_xIPv6_GetIPType_Loopback()
26202620
const IPv6_Address_t xIPv6Address = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01 };
26212621
IPv6_Type_t xReturn;
26222622

2623+
xIsIPv6Loopback_ExpectAndReturn( &xIPv6Address, pdTRUE );
2624+
26232625
xReturn = xIPv6_GetIPType( &xIPv6Address );
26242626
TEST_ASSERT_EQUAL( eIPv6_Loopback, xReturn );
26252627
}

0 commit comments

Comments
 (0)