]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
format_graphite: Format with contrib/format.sh
authorFlorian Forster <octo@google.com>
Fri, 17 Jul 2020 16:08:46 +0000 (18:08 +0200)
committerFlorian Forster <octo@google.com>
Wed, 29 Jul 2020 11:40:54 +0000 (13:40 +0200)
src/utils/format_graphite/format_graphite_test.c

index 92825b00965272551b95d74203969e99862885b0..e429b8cd71e3bd55ae6bcff2cb9428b2a3017c12 100644 (file)
@@ -54,8 +54,7 @@ DEF_TEST(metric_name) {
           .values = (char const *[]){"second", "first"},
           .value = (value_t){.counter = 0},
           .type = METRIC_TYPE_COUNTER,
-          .want =
-              "test_with_label.alpha=first.beta=second 0 1592748157\r\n",
+          .want = "test_with_label.alpha=first.beta=second 0 1592748157\r\n",
       },
       {
           .name = "separate_instances_test",
@@ -65,7 +64,8 @@ DEF_TEST(metric_name) {
           .value = (value_t){.counter = 0},
           .type = METRIC_TYPE_COUNTER,
           .flags = GRAPHITE_SEPARATE_INSTANCES,
-          .want = "separate_instances_test.alpha.first.beta.second 0 1592748157\r\n",
+          .want = "separate_instances_test.alpha.first.beta.second 0 "
+                  "1592748157\r\n",
       },
       {
           .name = "escaped:metric_name",