diff --git a/src/task.c b/src/task.c index 4aeb4600..98a7cdbd 100644 --- a/src/task.c +++ b/src/task.c @@ -1911,10 +1911,10 @@ void tf_task_destroy(tf_task_t* task) uv_run(&task->_loop, UV_RUN_ONCE); } - //int index = 0; + int index = 0; while (uv_loop_close(&task->_loop) != 0) { - //if (index++ > 0) + if (index++ > 0) { tf_printf("--\n"); uv_print_all_handles(&task->_loop, stdout); diff --git a/src/tests.c b/src/tests.c index ea5f54ab..8b8c3978 100644 --- a/src/tests.c +++ b/src/tests.c @@ -760,14 +760,13 @@ static void _test_auto(const tf_test_options_t* options) char* args[] = { executable, "run", "-d", "out/selenium.sqlite", "-b", "0", "-p", "8888", NULL }; - uv_stdio_container_t io[3] = - { + uv_stdio_container_t io[3] = { { .flags = UV_INHERIT_FD }, { .flags = UV_INHERIT_FD }, { .flags = UV_INHERIT_FD }, }; - uv_process_options_t process_options = {0}; + uv_process_options_t process_options = { 0 }; process_options.args = args; process_options.exit_cb = _test_auto_process_exit; process_options.stdio = io;