Skip to content
Snippets Groups Projects
Commit bf6fc326 authored by Sergey Lyubka's avatar Sergey Lyubka
Browse files

Added test for static config opts

parent 53311e8d
No related branches found
No related tags found
No related merge requests found
......@@ -448,6 +448,8 @@ static const char *test_server(void) {
// TODO(lsm): come up with a better way of thread sync
sleep(1);
ASSERT(strcmp(static_config_options[URL_REWRITES * 2], "url_rewrites") == 0);
mg_destroy_server(&server);
ASSERT(server == NULL);
return NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment