File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
test/unit-test/FreeRTOS_Sockets Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -4389,7 +4389,6 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )
43894389
43904390 if ( ( pxBuffer == NULL ) && ( pxSocket -> u .xTCP .bits .bMallocError != pdTRUE ) )
43914391 {
4392-
43934392 /* Create the outgoing stream only when it is needed */
43944393 ( void ) prvTCPCreateStream ( pxSocket , pdFALSE );
43954394 pxBuffer = pxSocket -> u .xTCP .txStream ;
Original file line number Diff line number Diff line change @@ -794,7 +794,6 @@ void test_FreeRTOS_get_tx_head_InvalidParams( void )
794794 /* NULL socket. */
795795 pucReturn = FreeRTOS_get_tx_head ( NULL , & xLength );
796796 TEST_ASSERT_EQUAL ( NULL , pucReturn );
797-
798797}
799798
800799/**
@@ -813,7 +812,7 @@ void test_FreeRTOS_get_tx_head_NoStream( void )
813812
814813 /* NULL stream. */
815814 xSocket .ucProtocol = FREERTOS_IPPROTO_TCP ;
816- pvPortMalloc_ExpectAnyArgsAndReturn (ucStream );
815+ pvPortMalloc_ExpectAnyArgsAndReturn ( ucStream );
817816 uxStreamBufferGetSpace_ExpectAndReturn ( ( StreamBuffer_t * ) ucStream , uxRemainingSize );
818817 pucReturn = FreeRTOS_get_tx_head ( & xSocket , & xLength );
819818 TEST_ASSERT_EQUAL_PTR ( & ( ( ( StreamBuffer_t * ) ucStream )-> ucArray [ 0 ] ), pucReturn );
You can’t perform that action at this time.
0 commit comments