test: Fix speling issues

Found by codespell
This commit is contained in:
Erik Ekman
2023-10-14 17:40:06 +02:00
parent 34516d5c2e
commit 20c9b117e1
4 changed files with 6 additions and 6 deletions

View File

@@ -517,7 +517,7 @@ START_TEST(test_tcp_fast_retx_recover)
/* queue data4, don't send it (unsent-oversize is != 0) */
err = tcp_write(pcb, data4, sizeof(data4), TCP_WRITE_FLAG_COPY);
EXPECT_RET(err == ERR_OK);
/* 3nd duplicate ACK for data1 (data2 and data3 are lost) -> fast retransmission */
/* 3rd duplicate ACK for data1 (data2 and data3 are lost) -> fast retransmission */
p = tcp_create_rx_segment(pcb, NULL, 0, 0, 0, TCP_ACK);
EXPECT_RET(p != NULL);
test_tcp_input(p, &netif);

View File

@@ -515,7 +515,7 @@ START_TEST(test_tcp_recv_ooseq_overrun_rxwin)
}
}
/* pass in one more segment, cleary overrunning the rxwin */
/* pass in one more segment, clearly overrunning the rxwin */
p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK);
EXPECT_RET(p_ovr != NULL);
/* pass the segment to tcp_input */
@@ -602,7 +602,7 @@ START_TEST(test_tcp_recv_ooseq_overrun_rxwin_edge)
}
}
/* pass in one more segment, cleary overrunning the rxwin */
/* pass in one more segment, clearly overrunning the rxwin */
p_ovr = tcp_create_rx_segment(pcb, &data_full_wnd[TCP_MSS*(k+1)], TCP_MSS, TCP_MSS*(k+1), 0, TCP_ACK);
EXPECT_RET(p_ovr != NULL);
/* pass the segment to tcp_input */