Skip to content

Commit cfb5a09

Browse files
committed
Fixing typos in order to satisfy CI spell check
1 parent dfffdc9 commit cfb5a09

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed
+5
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
wan
2+
nd
3+
atleast
4+
derrived
5+
aline
6+
anid

extras/test/external/catch/v2.12.1/include/catch.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ namespace Catch {
22062206
m_result( result )
22072207
{}
22082208

2209-
// We don't actually need a virtual destructor, but many static analysers
2209+
// We don't actually need a virtual destructor, but many static analyzers
22102210
// complain if it's not here :-(
22112211
virtual ~ITransientExpression();
22122212

@@ -3847,7 +3847,7 @@ namespace Catch {
38473847
virtual ~GeneratorUntypedBase();
38483848
// Attempts to move the generator to the next element
38493849
//
3850-
// Returns true iff the move succeeded (and a valid element
3850+
// Returns true if the move succeeded (and a valid element
38513851
// can be retrieved).
38523852
virtual bool next() = 0;
38533853
};
@@ -10542,7 +10542,7 @@ namespace Catch {
1054210542
// Extracts the actual name part of an enum instance
1054310543
// In other words, it returns the Blue part of Bikeshed::Colour::Blue
1054410544
StringRef extractInstanceName(StringRef enumInstance) {
10545-
// Find last occurence of ":"
10545+
// Find last occurrence of ":"
1054610546
size_t name_start = enumInstance.size();
1054710547
while (name_start > 0 && enumInstance[name_start - 1] != ':') {
1054810548
--name_start;

extras/test/src/test_OTALogic.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ TEST_CASE("OTAStorage writing to storage file fails", "[OTAStorage::write() -> f
124124
/* Configure mock object */
125125
When(Method(ota_storage, init)).Return(true);
126126
When(Method(ota_storage, open)).Return(true);
127-
When(Method(ota_storage, write)).AlwaysDo([](uint8_t const * const /* buf */, size_t const /* num_bytes */) -> size_t { return 0 /* should return num_bytes in case of succes */;});
127+
When(Method(ota_storage, write)).AlwaysDo([](uint8_t const * const /* buf */, size_t const /* num_bytes */) -> size_t { return 0 /* should return num_bytes in case of success */;});
128128
Fake(Method(ota_storage, close));
129129
Fake(Method(ota_storage, remove));
130130
Fake(Method(ota_storage, deinit));
@@ -231,7 +231,7 @@ TEST_CASE("Valid OTA data is received ", "[OTALogic]")
231231
REQUIRE(ota_logic.state() == OTAState::Reset);
232232
}
233233

234-
THEN("No OTA error should have occured")
234+
THEN("No OTA error should have occurred")
235235
{
236236
REQUIRE(ota_logic.error() == OTAError::None);
237237
}

src/utility/ota/crc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* This file defines the functions crc_init(), crc_update() and crc_finalize().
1717
*
18-
* The crc_init() function returns the inital \c crc value and must be called
18+
* The crc_init() function returns the initial \c crc value and must be called
1919
* before the first call to crc_update().
2020
* Similarly, the crc_finalize() function must be called after the last call
2121
* to crc_update(), before the \c crc is being used.

0 commit comments

Comments
 (0)