]> git.feebdaed.xyz Git - 0xmirror/cJSON.git/commitdiff
Fix spelling errors found by CodeSpell. See https://github.com/codespell-project...
authorShaun Case <shaunc@aja.com>
Fri, 29 Mar 2024 17:55:41 +0000 (10:55 -0700)
committerAlan Wang <wp_scut@163.com>
Tue, 14 May 2024 01:43:59 +0000 (09:43 +0800)
tests/cjson_add.c
tests/print_object.c
tests/unity/auto/parse_output.rb
tests/unity/docs/UnityGettingStartedGuide.md
tests/unity/extras/eclipse/error_parsers.txt
tests/unity/src/unity.c
tests/unity/test/rakefile

index b02f1e2758fd994534e5a78a9ad76390e395a164..ac96ce75df238ad44b7595969bafe02d7a9f8f8c 100644 (file)
@@ -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);
index 3ed0bfed4846ed1db7598c518ced9623c3f57fd5..507d97594568abbdd8cc26617d42119a28e32672 100644 (file)
@@ -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);
 }
index f16cdb036f340b866ede1ef948b5b407fd8f1e2a..8e88fff044230b4e86bf8ce5d3fbf1b9fe349900 100644 (file)
@@ -78,7 +78,7 @@ class ParseOutput
     @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]
index 50fc91c7055de0f01d7dc02e22681624b029419d..08888a12b1d2d2836cbecf78195e8fcf1295b75d 100644 (file)
@@ -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
index 94e34ff385f92fb7999ac1bc0356d2daac97d841..f7ce8bd02663494a363f948c99196fd46be14f02 100644 (file)
@@ -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.
 
index d02610a72615c4a1390c381a869ee49080fa1048..eee6f965e72ce28f0be9a91ad5331ee25fe2c2f0 100644 (file)
@@ -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
index 4a2f3d2c12cf7c92386c9387e88504a047d48fe1..f05fb7a974efe79c1ed7149b7a125f42dfaa5707 100644 (file)
@@ -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)