Skip to content

Commit

Permalink
ut: Repaired GetIPType loopback test
Browse files Browse the repository at this point in the history
  • Loading branch information
htibosch committed Sep 27, 2023
1 parent c2cd991 commit 3b9a259
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit-test/FreeRTOS_Routing/FreeRTOS_Routing_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -2620,6 +2620,8 @@ void test_xIPv6_GetIPType_Loopback()
const IPv6_Address_t xIPv6Address = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x01 };
IPv6_Type_t xReturn;

xIsIPv6Loopback_ExpectAndReturn( &xIPv6Address, pdTRUE );

xReturn = xIPv6_GetIPType( &xIPv6Address );
TEST_ASSERT_EQUAL( eIPv6_Loopback, xReturn );
}
Expand Down

0 comments on commit 3b9a259

Please sign in to comment.