From f390da0c94ce4a723dcbbbf9055f3fc89c27a16f Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Wed, 25 Jun 2025 17:07:30 -0700 Subject: [PATCH] [tests] fix spelling errors (#11640) --- tests/gtest/fake_platform.cpp | 2 +- .../thread-cert/backbone/test_mlr_multicast_routing_timeout.py | 2 +- tests/unit/test_mdns.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gtest/fake_platform.cpp b/tests/gtest/fake_platform.cpp index b05a39992..6926ae38d 100644 --- a/tests/gtest/fake_platform.cpp +++ b/tests/gtest/fake_platform.cpp @@ -164,7 +164,7 @@ void FakePlatform::ProcessSchedules(uint64_t &aTimeout) if (alarm == &guard) { - // nonthing scheduled within this period. + // nothing scheduled within this period. } else if (alarm == &mReceiveAtEnd) { diff --git a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py index fcedbde49..5929d9652 100755 --- a/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py +++ b/tests/scripts/thread-cert/backbone/test_mlr_multicast_routing_timeout.py @@ -165,7 +165,7 @@ class TestMlrTimeout(thread_cert.TestCase): # PBBR should forward this ping request to Thread network because MA doesn't expire yet pkts.filter_wpan_src64(PBBR).filter_AMPLFMA().filter_ping_request( identifier=ping.icmpv6.echo.identifier).must_next() - # Router should NOT reply because it has unsubcribed the multicast address + # Router should NOT reply because it has unsubscribed the multicast address pkts.filter_wpan_src64(ROUTER).filter_ipv6_dst(HOST_BGUA).filter_ping_reply( identifier=ping.icmpv6.echo.identifier).must_not_next() diff --git a/tests/unit/test_mdns.cpp b/tests/unit/test_mdns.cpp index a21205270..0d1e5c204 100644 --- a/tests/unit/test_mdns.cpp +++ b/tests/unit/test_mdns.cpp @@ -4525,7 +4525,7 @@ void TestQuery(void) VerifyOrQuit(dnsMsg != nullptr); VerifyOrQuit(dnsMsg->GetNext() == nullptr); - // Response should include `service3` only since anwer TTL + // Response should include `service3` only since answer TTL // is less than half of registered TTL dnsMsg->ValidateHeader(kMulticastResponse, /* Q */ 0, /* Ans */ 1, /* Auth */ 0, /* Addnl */ 4);