Skip to content

Commit

Permalink
Merge pull request #254 from marcransome/reformat_test_file
Browse files Browse the repository at this point in the history
Reformat test file
  • Loading branch information
marcransome authored Oct 19, 2024
2 parents 3841c61 + 9a16a3a commit 5bc44db
Showing 1 changed file with 6 additions and 3 deletions.
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

0 comments on commit 5bc44db

Please sign in to comment.