We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c79394 commit d15bcfeCopy full SHA for d15bcfe
TESTS/network/interface/networkinterface_status.cpp
@@ -36,7 +36,9 @@ nsapi_connection_status_t statuses[status_buffer_size];
36
37
void status_cb(nsapi_event_t event, intptr_t value)
38
{
39
- TEST_ASSERT_EQUAL(NSAPI_EVENT_CONNECTION_STATUS_CHANGE, event);
+ if (event != NSAPI_EVENT_CONNECTION_STATUS_CHANGE) {
40
+ return;
41
+ }
42
43
statuses[status_write_counter] = static_cast<nsapi_connection_status_t>(value);
44
status_write_counter++;
0 commit comments