]> granicus.if.org Git - json-c/commitdiff
Fix typos found by codespell
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Sat, 13 Aug 2022 12:47:40 +0000 (15:47 +0300)
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Sat, 13 Aug 2022 12:47:40 +0000 (15:47 +0300)
Do not fix typos from past commits found in release notes.

doc/Doxyfile.in
tests/test_deep_copy.c
tests/test_deep_copy.expected

index 7085e3a074c6c5ccad4c677bddc009b71b4610b6..46fc76ed9442040a1c54c69f1fc2035f4f791202 100644 (file)
@@ -1103,7 +1103,7 @@ HTML_STYLESHEET        =
 # cascading style sheets that are included after the standard style sheets
 # created by doxygen. Using this option one can overrule certain style aspects.
 # This is preferred over using HTML_STYLESHEET since it does not replace the
-# standard style sheet and is therefor more robust against future updates.
+# standard style sheet and is therefore more robust against future updates.
 # Doxygen will copy the style sheet files to the output directory.
 # Note: The order of the extra stylesheet files is of importance (e.g. the last
 # stylesheet in the list overrules the setting of the previous ones in the
index 34ef1fe5d3c458b9bbd79416a2baa1048758302f..5f0382966bfa5e78d4bda5828640416a85d18c06 100644 (file)
@@ -22,7 +22,7 @@ static const char *json_str1 =
     "            \"number\": 16446744073709551615,"
     "            \"title\": \"S\","
     "            \"null_obj\": null, "
-    "            \"exixt\": false,"
+    "            \"exist\": false,"
     "            \"quantity\":20,"
     "            \"univalent\":19.8,"
     "            \"GlossList\": {"
@@ -136,7 +136,7 @@ int main(int argc, char **argv)
        assert(0 == json_object_deep_copy(src2, &dst2, NULL));
        assert(0 == json_object_deep_copy(src3, &dst3, NULL));
 
-       printf("PASSED - all json_object_deep_copy() returned succesful\n");
+       printf("PASSED - all json_object_deep_copy() returned successful\n");
 
        assert(-1 == json_object_deep_copy(src1, &dst1, NULL));
        assert(errno == EINVAL);
@@ -151,7 +151,7 @@ int main(int argc, char **argv)
        assert(1 == json_object_equal(src2, dst2));
        assert(1 == json_object_equal(src3, dst3));
 
-       printf("PASSED - all json_object_equal() tests returned succesful\n");
+       printf("PASSED - all json_object_equal() tests returned successful\n");
 
        assert(0 == strcmp(json_object_to_json_string_ext(src1, JSON_C_TO_STRING_PRETTY),
                           json_object_to_json_string_ext(dst1, JSON_C_TO_STRING_PRETTY)));
index 3580ddc2394825739115305b32bf1e9c7cfdb8bd..3bd44629dbaa4199eef9a44222da34e9f7ab16cf 100644 (file)
@@ -1,7 +1,7 @@
 PASSED - loaded input data
-PASSED - all json_object_deep_copy() returned succesful
+PASSED - all json_object_deep_copy() returned successful
 PASSED - all json_object_deep_copy() returned EINVAL for non-null pointer
-PASSED - all json_object_equal() tests returned succesful
+PASSED - all json_object_equal() tests returned successful
 PASSED - comparison of string output
 PASSED - trying to overrwrite an object that has refcount > 1
 Printing JSON objects for visual inspection
@@ -14,7 +14,7 @@ Printing JSON objects for visual inspection
       "number":16446744073709551615,
       "title":"S",
       "null_obj":null,
-      "exixt":false,
+      "exist":false,
       "quantity":20,
       "univalent":19.8,
       "GlossList":{