Skip to content

Commit b5a6802

Browse files
mattmundellbjoernricks
authored andcommitted
Indent macro body
1 parent 7ced922 commit b5a6802

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

base/hosts_tests.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,16 @@ Ensure (hosts, gvm_hosts_new_with_max_returns_error)
226226
}
227227

228228
// This is a macro so the line number below is clear on failure.
229-
#define ASSERT_HOST_EQUALS(hosts, i, string) \
230-
{ \
231-
gchar *value; \
232-
\
233-
value = gvm_host_value_str (hosts->hosts[i]); \
234-
assert_true_with_message ( \
235-
g_strcmp0 (value, string) == 0, \
236-
"Expected hosts->hosts[%d] to be %s but it was %s", i, string, value); \
237-
g_free (value); \
238-
}
229+
#define ASSERT_HOST_EQUALS(hosts, i, string) \
230+
{ \
231+
gchar *value; \
232+
\
233+
value = gvm_host_value_str (hosts->hosts[i]); \
234+
assert_true_with_message ( \
235+
g_strcmp0 (value, string) == 0, \
236+
"Expected hosts->hosts[%d] to be %s but it was %s", i, string, value); \
237+
g_free (value); \
238+
}
239239

240240
static int
241241
host_value_eq (gvm_host_t *host, gchar *string)

0 commit comments

Comments
 (0)