summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Russon <rich@flatcap.org>2023-10-19 00:25:01 +0100
committerRichard Russon <rich@flatcap.org>2023-10-19 00:31:58 +0100
commit15d0d95f39d6427ed7efd663ffd8d73053488caf (patch)
treef83a88a3cd5b77b1c0764cbb03fdbb1fab3103c4
parent036460b6cdeb7923abc94e7f042260d643610a24 (diff)
clang-format
-rw-r--r--test/config/slist.c3
-rw-r--r--test/parse/parse_rc_line.c27
2 files changed, 14 insertions, 16 deletions
diff --git a/test/config/slist.c b/test/config/slist.c
index 97de7592d..18f1a50be 100644
--- a/test/config/slist.c
+++ b/test/config/slist.c
@@ -259,8 +259,7 @@ static bool test_slist_is_member(struct Buffer *err)
for (size_t i = 0; i < mutt_array_size(values); i++)
{
- TEST_MSG("member '%s' : %s", values[i],
- slist_is_member(list, values[i]) ? "yes" : "no");
+ TEST_MSG("member '%s' : %s", values[i], slist_is_member(list, values[i]) ? "yes" : "no");
}
slist_free(&list);
diff --git a/test/parse/parse_rc_line.c b/test/parse/parse_rc_line.c
index ef3514f37..e056d0168 100644
--- a/test/parse/parse_rc_line.c
+++ b/test/parse/parse_rc_line.c
@@ -58,8 +58,7 @@ static bool set_non_empty_values(void)
int rc = cs_str_reset(NeoMutt->sub->cs, ConfigVars[v].name, err);
if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS))
{
- TEST_MSG("Failed to set dummy value for %s: %s", ConfigVars[v].name,
- buf_string(err));
+ TEST_MSG("Failed to set dummy value for %s: %s", ConfigVars[v].name, buf_string(err));
ret = false;
}
}
@@ -612,8 +611,8 @@ static bool test_toggle(struct Buffer *err)
enum CommandResult rc = parse_rc_line(line, err);
if (!TEST_CHECK(rc == MUTT_CMD_SUCCESS))
{
- TEST_MSG("Expected %d, but got %d; err is: '%s'",
- MUTT_CMD_SUCCESS, rc, buf_string(err));
+ TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS,
+ rc, buf_string(err));
return false;
}
@@ -641,8 +640,8 @@ static bool test_toggle(struct Buffer *err)
enum CommandResult rc = parse_rc_line(line, err);
if (!TEST_CHECK(rc == MUTT_CMD_SUCCESS))
{
- TEST_MSG("Expected %d, but got %d; err is: '%s'",
- MUTT_CMD_SUCCESS, rc, buf_string(err));
+ TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS,
+ rc, buf_string(err));
return false;
}
@@ -768,8 +767,8 @@ static bool test_query(struct Buffer *err)
enum CommandResult rc = parse_rc_line(line, err);
if (!TEST_CHECK(rc == MUTT_CMD_SUCCESS))
{
- TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS,
- rc, buf_string(err));
+ TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS, rc,
+ buf_string(err));
return false;
}
@@ -832,8 +831,8 @@ static bool test_increment(struct Buffer *err)
enum CommandResult rc = parse_rc_line(line, err);
if (!TEST_CHECK(rc == MUTT_CMD_SUCCESS))
{
- TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS,
- rc, buf_string(err));
+ TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS, rc,
+ buf_string(err));
return false;
}
@@ -889,8 +888,8 @@ static bool test_decrement(struct Buffer *err)
enum CommandResult rc = parse_rc_line(line, err);
if (!TEST_CHECK(rc == MUTT_CMD_SUCCESS))
{
- TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS,
- rc, buf_string(err));
+ TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS, rc,
+ buf_string(err));
return false;
}
@@ -981,8 +980,8 @@ static bool test_path_expanding(struct Buffer *err)
enum CommandResult rc = parse_rc_line(line, err);
if (!TEST_CHECK(rc == MUTT_CMD_SUCCESS))
{
- TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS,
- rc, buf_string(err));
+ TEST_MSG("Expected %d, but got %d; err is: '%s'", MUTT_CMD_SUCCESS, rc,
+ buf_string(err));
return false;
}