format: run nm-code-format

The new clang-format changed the formatting, re-run it on the code.
This commit is contained in:
Beniamino Galvani 2025-01-29 14:20:01 +01:00
parent 17f274d5b4
commit ae315eec18
2 changed files with 21 additions and 13 deletions

View file

@ -9521,18 +9521,24 @@ do_svUnescape_combine_ansi(GString *str_val,
static void static void
test_svUnescape(void) test_svUnescape(void)
{ {
#define V0(v_value, v_expected) \ #define V0(v_value, v_expected) \
{ \ { \
.val = "" v_value "", .exp = v_expected, .can_concat = FALSE, \ .val = "" v_value "", \
.exp = v_expected, \
.can_concat = FALSE, \
} }
#define V1(v_value, v_expected) \ #define V1(v_value, v_expected) \
{ \ { \
.val = "" v_value "", .exp = v_expected, .can_concat = !!v_expected, \ .val = "" v_value "", \
.exp = v_expected, \
.can_concat = !!v_expected, \
} }
#define V2(v_value, v_expected) \ #define V2(v_value, v_expected) \
{ \ { \
.val = "" v_value "", .exp = v_expected, .can_concat = TRUE, \ .val = "" v_value "", \
.needs_ascii_separator = TRUE, \ .exp = v_expected, \
.can_concat = TRUE, \
.needs_ascii_separator = TRUE, \
} }
const UnescapeTestData data_full[] = { const UnescapeTestData data_full[] = {
V1("", ""), V1("", ""),

View file

@ -8679,9 +8679,11 @@ test_nm_utils_ascii_str_to_int64(void)
static void static void
test_nm_utils_strstrdictkey(void) test_nm_utils_strstrdictkey(void)
{ {
#define _VALUES_STATIC(_v1, _v2) \ #define _VALUES_STATIC(_v1, _v2) \
{ \ { \
.v1 = _v1, .v2 = _v2, .v_static = _nm_utils_strstrdictkey_static(_v1, _v2), \ .v1 = _v1, \
.v2 = _v2, \
.v_static = _nm_utils_strstrdictkey_static(_v1, _v2), \
} }
const struct { const struct {
const char *v1; const char *v1;