Skip to content

Commit f390da0

Browse files
authored
[tests] fix spelling errors (openthread#11640)
1 parent b794b28 commit f390da0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/gtest/fake_platform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void FakePlatform::ProcessSchedules(uint64_t &aTimeout)
164164

165165
if (alarm == &guard)
166166
{
167-
// nonthing scheduled within this period.
167+
// nothing scheduled within this period.
168168
}
169169
else if (alarm == &mReceiveAtEnd)
170170
{

tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def verify(self, pv: PacketVerifier):
165165
# PBBR should forward this ping request to Thread network because MA doesn't expire yet
166166
pkts.filter_wpan_src64(PBBR).filter_AMPLFMA().filter_ping_request(
167167
identifier=ping.icmpv6.echo.identifier).must_next()
168-
# Router should NOT reply because it has unsubcribed the multicast address
168+
# Router should NOT reply because it has unsubscribed the multicast address
169169
pkts.filter_wpan_src64(ROUTER).filter_ipv6_dst(HOST_BGUA).filter_ping_reply(
170170
identifier=ping.icmpv6.echo.identifier).must_not_next()
171171

tests/unit/test_mdns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4525,7 +4525,7 @@ void TestQuery(void)
45254525
VerifyOrQuit(dnsMsg != nullptr);
45264526
VerifyOrQuit(dnsMsg->GetNext() == nullptr);
45274527

4528-
// Response should include `service3` only since anwer TTL
4528+
// Response should include `service3` only since answer TTL
45294529
// is less than half of registered TTL
45304530

45314531
dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 1, /* Auth */ 0, /* Addnl */ 4);

0 commit comments

Comments
 (0)