mirror of
https://github.com/google/pebble.git
synced 2025-11-20 14:30:55 -05:00
spelling: expected
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -228,7 +228,7 @@ void pulse2_reliable_transport_on_command_packet(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
PBL_LOG(LOG_LEVEL_DEBUG, "Received truncated or corrupt info packet "
|
PBL_LOG(LOG_LEVEL_DEBUG, "Received truncated or corrupt info packet "
|
||||||
"field (expeced %" PRIu16 ", got %" PRIu16 " data bytes). "
|
"field (expected %" PRIu16 ", got %" PRIu16 " data bytes). "
|
||||||
"Discarding.", ntoh16(packet->i.length), (uint16_t)length);
|
"Discarding.", ntoh16(packet->i.length), (uint16_t)length);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ void test_mbuf__iter_modify(void) {
|
|||||||
for (int i = 0; i < 6; i++) {
|
for (int i = 0; i < 6; i++) {
|
||||||
cl_assert(!mbuf_iterator_is_finished(&write_iter));
|
cl_assert(!mbuf_iterator_is_finished(&write_iter));
|
||||||
cl_assert(!mbuf_iterator_is_finished(&read_iter));
|
cl_assert(!mbuf_iterator_is_finished(&read_iter));
|
||||||
// check we're on the exected mbuf
|
// check we're on the expected mbuf
|
||||||
if (i < 3) {
|
if (i < 3) {
|
||||||
cl_assert(mbuf_iterator_get_current_mbuf(&write_iter) == &mbuf1);
|
cl_assert(mbuf_iterator_get_current_mbuf(&write_iter) == &mbuf1);
|
||||||
cl_assert(mbuf_iterator_get_current_mbuf(&read_iter) == &mbuf1);
|
cl_assert(mbuf_iterator_get_current_mbuf(&read_iter) == &mbuf1);
|
||||||
|
|||||||
Reference in New Issue
Block a user