Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat test file #254

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions test/test_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ flog_config_new_with_null_arg_values_fails(void **state) {
expect_assert_failure(flog_config_new(mock_argc, mock_argv, &error));
}

static void test_new_config_with_no_error_ptr_calls_assert(void **state) {
static void
test_new_config_with_no_error_ptr_calls_assert(void **state) {
UNUSED(state);

int mock_argc = 0;
Expand Down Expand Up @@ -168,7 +169,8 @@ flog_config_new_with_long_category_opt_and_no_subsystem_opt_fails(void **state)
assert_int_equal(error, FLOG_ERROR_SUBSYS);
}

static void flog_config_with_short_subsystem_opt_and_no_subsystem_fails(void **state) {
static void
flog_config_with_short_subsystem_opt_and_no_subsystem_fails(void **state) {
UNUSED(state);

FlogError error = TEST_ERROR;
Expand All @@ -184,7 +186,8 @@ static void flog_config_with_short_subsystem_opt_and_no_subsystem_fails(void **s
assert_int_equal(error, FLOG_ERROR_OPTS);
}

static void flog_config_with_long_subsystem_opt_and_no_subsystem_fails(void **state) {
static void
flog_config_with_long_subsystem_opt_and_no_subsystem_fails(void **state) {
UNUSED(state);

FlogError error = TEST_ERROR;
Expand Down
Loading