mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Added test for static config opts
This commit is contained in:
parent
53311e8d6b
commit
bf6fc3262f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user