From: Florian Forster Date: Wed, 21 Feb 2024 14:41:41 +0000 (+0100) Subject: common: Improve error case description. X-Git-Tag: collectd-6.0.0.rc3~1^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b522a0b4fa333c3a5b0710bcd33a6e7731c0a010;p=thirdparty%2Fcollectd.git common: Improve error case description. --- diff --git a/src/utils/common/common_test.c b/src/utils/common/common_test.c index 4f370aa0b..2da71b97b 100644 --- a/src/utils/common/common_test.c +++ b/src/utils/common/common_test.c @@ -543,7 +543,7 @@ DEF_TEST(value_to_rate) { .want = 10.0, }, { - .name = "double init", + .name = "counter_fp init", .t0 = 0, .t1 = 10, .type = METRIC_TYPE_COUNTER_FP, @@ -552,7 +552,7 @@ DEF_TEST(value_to_rate) { .want_err = EAGAIN, }, { - .name = "double increase", + .name = "counter_fp increase", .t0 = 10, .t1 = 20, .type = METRIC_TYPE_COUNTER_FP, @@ -561,7 +561,7 @@ DEF_TEST(value_to_rate) { .want = (50.5 - 10.) / (20. - 10.), }, { - .name = "double reset", + .name = "counter_fp reset", .t0 = 20, .t1 = 30, .type = METRIC_TYPE_COUNTER_FP,