]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
write_prometheus plugin: Simplify files included by the test.
authorFlorian Forster <octo@collectd.org>
Tue, 20 Feb 2024 14:53:26 +0000 (15:53 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 20 Feb 2024 15:01:01 +0000 (16:01 +0100)
src/write_prometheus_test.c

index 40c7de1ad5c0a11bdf47103b8fd48d1257a923f9..0b41032387f5fb894ac5e094fb7d318ea93ab421 100644 (file)
  *   Florian octo Forster <octo at collectd.org>
  */
 
-#include "collectd.h"
-#include "testing.h"
-
 #include "write_prometheus.c" /* sic */
 
+#include "testing.h"
+
 DEF_TEST(format_label_name) {
   // Test cases are based on:
   // https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/translator/prometheus/README.md