Skip to content

Commit 8476c38

Browse files
committed
Improve a test assertion
That way if it ever fails it will print the values. Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
1 parent 29073e3 commit 8476c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/suites/test_suite_ssl.function

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5092,7 +5092,7 @@ void inject_client_content_on_the_wire(int pk_alg,
50925092

50935093
/* Send the crafted message */
50945094
ret = mbedtls_test_mock_tcp_send_b(&client.socket, data->x, data->len);
5095-
TEST_ASSERT(ret >= 0 && (size_t) ret == data->len);
5095+
TEST_EQUAL(ret, (int) data->len);
50965096

50975097
/* Have the server process it.
50985098
* Need the loop because a server that support 1.3 and 1.2

0 commit comments

Comments
 (0)