Fix spelling errors found by CodeSpell. See https://github.com/codespell-project/codespell

This commit is contained in:
Shaun Case 2024-03-29 10:55:41 -07:00 committed by Alan Wang
parent 8a334b0140
commit 324973008c
7 changed files with 7 additions and 7 deletions

View File

@ -34,7 +34,7 @@ static void * CJSON_CDECL failing_malloc(size_t size)
return NULL; return NULL;
} }
/* work around MSVC error C2322: '...' address of dillimport '...' is not static */ /* work around MSVC error C2322: '...' address of dllimport '...' is not static */
static void CJSON_CDECL normal_free(void *pointer) static void CJSON_CDECL normal_free(void *pointer)
{ {
free(pointer); free(pointer);

View File

@ -63,7 +63,7 @@ static void assert_print_object(const char * const expected, const char * const
formatted_buffer.format = true; formatted_buffer.format = true;
TEST_ASSERT_TRUE_MESSAGE(print_object(item, &formatted_buffer), "Failed to print formatted string."); TEST_ASSERT_TRUE_MESSAGE(print_object(item, &formatted_buffer), "Failed to print formatted string.");
TEST_ASSERT_EQUAL_STRING_MESSAGE(expected, printed_formatted, "Formatted ojbect is not correct."); TEST_ASSERT_EQUAL_STRING_MESSAGE(expected, printed_formatted, "Formatted object is not correct.");
reset(item); reset(item);
} }

View File

@ -78,7 +78,7 @@ class ParseOutput
@array_list.push ' <testcase classname="' + test_suite + '" name="' + test_name + '"/>' @array_list.push ' <testcase classname="' + test_suite + '" name="' + test_name + '"/>'
end end
# Test was flagged as being ingored so format the output # Test was flagged as being ignored so format the output
def test_ignored(array) def test_ignored(array)
last_item = array.length - 1 last_item = array.length - 1
test_name = array[last_item - 2] test_name = array[last_item - 2]

View File

@ -2,7 +2,7 @@ Eclipse error parsers
===================== =====================
These are a godsend for extracting & quickly navigating to These are a godsend for extracting & quickly navigating to
warnings & error messages from console output. Unforunately warnings & error messages from console output. Unfortunately
I don't know how to write an Eclipse plugin so you'll have I don't know how to write an Eclipse plugin so you'll have
to add them manually. to add them manually.

View File

@ -8,7 +8,7 @@
#include "unity.h" #include "unity.h"
#include <stddef.h> #include <stddef.h>
/* If omitted from header, declare overrideable prototypes here so they're ready for use */ /* If omitted from header, declare overridable prototypes here so they're ready for use */
#ifdef UNITY_OMIT_OUTPUT_CHAR_HEADER_DECLARATION #ifdef UNITY_OMIT_OUTPUT_CHAR_HEADER_DECLARATION
void UNITY_OUTPUT_CHAR(int); void UNITY_OUTPUT_CHAR(int);
#endif #endif

View File

@ -26,7 +26,7 @@ task :prepare_for_tests => TEMP_DIRS
include RakefileHelpers include RakefileHelpers
# Load proper GCC as defult configuration # Load proper GCC as default configuration
DEFAULT_CONFIG_FILE = 'gcc_auto_stdint.yml' DEFAULT_CONFIG_FILE = 'gcc_auto_stdint.yml'
configure_toolchain(DEFAULT_CONFIG_FILE) configure_toolchain(DEFAULT_CONFIG_FILE)