Skip to content

Commit

Permalink
Fix spelling errors found by CodeSpell. See https://github.com/codesp…
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Case authored and Alanscut committed May 14, 2024
1 parent 8a334b0 commit 3249730
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/cjson_add.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static void * CJSON_CDECL failing_malloc(size_t size)
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)
{
free(pointer);
Expand Down
2 changes: 1 addition & 1 deletion tests/print_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static void assert_print_object(const char * const expected, const char * const

formatted_buffer.format = true;
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);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unity/auto/parse_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_passed_unity_fixture(array)
@array_list.push ' <testcase classname="' + test_suite + '" name="' + test_name + '"/>'
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)
last_item = array.length - 1
test_name = array[last_item - 2]
Expand Down
2 changes: 1 addition & 1 deletion tests/unity/docs/UnityGettingStartedGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ header files. These three files _are_ Unity.
into this folder already. This is where all the handy documentation can be
found.
- `examples` - This contains a few examples of using Unity.
- `extras` - These are optional add ons to Unity that are not part of the core
- `extras` - These are optional addons to Unity that are not part of the core
project. If you've reached us through James Grenning's book, you're going to
want to look here.
- `test` - This is how Unity and its scripts are all tested. If you're just using
Expand Down
2 changes: 1 addition & 1 deletion tests/unity/extras/eclipse/error_parsers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Eclipse error parsers
=====================

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
to add them manually.

Expand Down
2 changes: 1 addition & 1 deletion tests/unity/src/unity.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "unity.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
void UNITY_OUTPUT_CHAR(int);
#endif
Expand Down
2 changes: 1 addition & 1 deletion tests/unity/test/rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ task :prepare_for_tests => TEMP_DIRS

include RakefileHelpers

# Load proper GCC as defult configuration
# Load proper GCC as default configuration
DEFAULT_CONFIG_FILE = 'gcc_auto_stdint.yml'
configure_toolchain(DEFAULT_CONFIG_FILE)

Expand Down

0 comments on commit 3249730

Please sign in to comment.