File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
240240static int
241241host_value_eq (gvm_host_t * host , gchar * string )
You can’t perform that action at this time.
0 commit comments