spelling: Fix unittest/* issues.

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni 2022-12-30 16:04:02 +01:00
parent 1070fc9ca6
commit cd77308dc0
3 changed files with 7 additions and 7 deletions

View File

@ -787,7 +787,7 @@ END_TEST
START_TEST(test_is_valid_uri)
{
/* is_valid_uri is superseeded by get_uri_type */
/* is_valid_uri is superseded by get_uri_type */
ck_assert_int_eq(2, get_uri_type("/api"));
ck_assert_int_eq(2, get_uri_type("/api/"));
ck_assert_int_eq(2,

View File

@ -391,7 +391,7 @@ START_TEST(test_mg_get_var)
ck_assert_int_eq(ret, 10);
ck_assert_str_eq("this is it", buf);
/* longer value in the middle of a longer string - seccond occurrence of key
/* longer value in the middle of a longer string - second occurrence of key
*/
memset(buf, 77, sizeof(buf));
ret =

View File

@ -1141,7 +1141,7 @@ websock_server_data(struct mg_connection *conn,
}
mark_point();
return 1; /* return 1 to keep the connetion open */
return 1; /* return 1 to keep the connection open */
}
@ -4995,8 +4995,8 @@ START_TEST(test_minimal_http_server_callback)
/* Call a test client */
minimal_http_client_check("127.0.0.1",
8080,
"/8?Altenative=Response",
"Altenative=Response");
"/8?Alternative=Response",
"Alternative=Response");
/* Run the server for 5 seconds */
test_sleep(5);
@ -5103,8 +5103,8 @@ START_TEST(test_minimal_https_server_callback)
/* Call a test client */
minimal_https_client_check("127.0.0.1",
8443,
"/8?Altenative=Response",
"Altenative=Response");
"/8?Alternative=Response",
"Alternative=Response");
/* Run the server for 5 seconds */
test_sleep(5);