diff options
author | Thomas Haller <thaller@redhat.com> | 2020-10-07 08:39:56 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-10-07 08:48:13 +0200 |
commit | 4fc79734985f661c7c28c56a558f00a795b9abf3 (patch) | |
tree | 1c5cd3c7ef44bd549a68f2361388f4f78a8c1830 | |
parent | 9c8275bedcc98d789fa83d2817b9e8ff58f3e7b6 (diff) | |
download | NetworkManager-4fc79734985f661c7c28c56a558f00a795b9abf3.tar.gz |
platform/tests: adjust regeneration of test code for test_platform_ip_address_pretty_sort_cmp()
Since re-formatting our source code, the generated output no longer
matched the required formatting. Adjust it.
-rw-r--r-- | src/platform/tests/test-platform-general.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/platform/tests/test-platform-general.c b/src/platform/tests/test-platform-general.c index f98f84c964..aca4413fad 100644 --- a/src/platform/tests/test-platform-general.c +++ b/src/platform/tests/test-platform-general.c @@ -692,14 +692,16 @@ test_platform_ip_address_pretty_sort_cmp(gconstpointer test_data) } if (PRINT_RESULT) { - g_print("\n\n\t\t[%d] = (\n", TEST_DATA_I); + g_print("\n [%d] = (", TEST_DATA_I); for (i = 0; i < ELM_SIZE * N_ADDRESSES;) { - g_print("\t\t\t\""); + if (i > 0) + g_print("\n "); + g_print("\""); for (j = 0; j < 40 && i < ELM_SIZE * N_ADDRESSES; j++, i++) g_print("%02x", addresses[i]); - g_print("\"\n"); + g_print("\""); } - g_print("\t\t),\n\n"); + g_print("),\n"); return; } |