projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run contrib/format.sh across entire *.h/*.c source tree (1st of 2)
[collectd.git]
/
src
/
utils
/
format_stackdriver
/
format_stackdriver_test.c
diff --git
a/src/utils/format_stackdriver/format_stackdriver_test.c
b/src/utils/format_stackdriver/format_stackdriver_test.c
index
d4935a3
..
0a4f268
100644
(file)
--- a/
src/utils/format_stackdriver/format_stackdriver_test.c
+++ b/
src/utils/format_stackdriver/format_stackdriver_test.c
@@
-27,7
+27,9
@@
DEF_TEST(sd_format_metric_descriptor) {
value_list_t vl = {
DEF_TEST(sd_format_metric_descriptor) {
value_list_t vl = {
- .host = "example.com", .plugin = "unit-test", .type = "example",
+ .host = "example.com",
+ .plugin = "unit-test",
+ .type = "example",
};
char got[1024];
};
char got[1024];
@@
-36,7
+38,10
@@
DEF_TEST(sd_format_metric_descriptor) {
.ds_num = 1,
.ds =
&(data_source_t){
.ds_num = 1,
.ds =
&(data_source_t){
- .name = "value", .type = DS_TYPE_GAUGE, .min = NAN, .max = NAN,
+ .name = "value",
+ .type = DS_TYPE_GAUGE,
+ .min = NAN,
+ .max = NAN,
},
};
EXPECT_EQ_INT(
},
};
EXPECT_EQ_INT(