Skip to content

Commit 565da92

Browse files
author
Antti Kauppila
authored
Update socket_api_test.cpp
1 parent 59545f9 commit 565da92

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/nanostack/unittest/libNET/socket_api/socket_api_test.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,6 @@ TEST(SocketAPI, socket_getsockopt)
885885

886886
status = socket_getsockopt(sock_id, SOCKET_IPPROTO_IPV6, SOCKET_IPV6_UNICAST_HOPS, &option, &option_len);
887887
BYTES_EQUAL(0, status);
888-
int16_t *table = (int16_t*)option;
889-
BYTES_EQUAL(64, table[0]);
890888
BYTES_EQUAL(2, option_len);
891889
option_len = 4;
892890

@@ -897,8 +895,6 @@ TEST(SocketAPI, socket_getsockopt)
897895
test_data->socket_ptr->inet_pcb->session = &tcp_session;
898896
status = socket_getsockopt(sock_id, SOCKET_IPPROTO_IPV6, SOCKET_IPV6_UNICAST_HOPS, &option, &option_len);
899897
BYTES_EQUAL(0, status);
900-
uint8_t *table2 = (uint8_t*)option;
901-
BYTES_EQUAL(entry.cur_hop_limit, table2[0]);
902898
BYTES_EQUAL(2, option_len);
903899
option_len = 4;
904900

0 commit comments

Comments
 (0)