Browse Source

Typos found by codespell (#607)

pull/610/head
Dimitri Papadopoulos Orfanos 3 months ago
committed by GitHub
parent
commit
7795249dd4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cJSON.h
  2. 2
      tests/json_patch_tests.c

2
cJSON.h

@ -256,7 +256,7 @@ CJSON_PUBLIC(cJSON_bool) cJSON_Compare(const cJSON * const a, const cJSON * cons
/* Minify a strings, remove blank characters(such as ' ', '\t', '\r', '\n') from strings.
* The input pointer json cannot point to a read-only address area, such as a string constant,
* but should point to a readable and writable adress area. */
* but should point to a readable and writable address area. */
CJSON_PUBLIC(void) cJSON_Minify(char *json);
/* Helper functions for creating and adding items to an object at the same time.

2
tests/json_patch_tests.c

@ -66,7 +66,7 @@ static cJSON_bool test_apply_patch(const cJSON * const test)
}
else
{
printf("Testing unkown\n");
printf("Testing unknown\n");
}
disabled = cJSON_GetObjectItemCaseSensitive(test, "disabled");

Loading…
Cancel
Save