mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Fix socket_send unit test
parent
4d431cd1ae
commit
ee41015304
|
@ -239,7 +239,7 @@ void Test_AT_CellularStack::test_AT_CellularStack_socket_send()
|
||||||
nsapi_socket_t sock = &st.socket;
|
nsapi_socket_t sock = &st.socket;
|
||||||
st.socket_open(&sock, NSAPI_TCP);
|
st.socket_open(&sock, NSAPI_TCP);
|
||||||
st.socket_connect(sock, addr);
|
st.socket_connect(sock, addr);
|
||||||
CHECK(NSAPI_ERROR_DEVICE_ERROR == st.socket_send(sock, "addr", 4));
|
CHECK(NSAPI_ERROR_OK == st.socket_send(sock, "addr", 4));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Test_AT_CellularStack::test_AT_CellularStack_socket_sendto()
|
void Test_AT_CellularStack::test_AT_CellularStack_socket_sendto()
|
||||||
|
|
Loading…
Reference in New Issue