mirror of
https://github.com/civetweb/civetweb
synced 2025-03-28 21:13:27 +00:00
spelling: Fix unittest/* issues.
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
parent
1070fc9ca6
commit
cd77308dc0
@ -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,
|
||||
|
@ -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 =
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user