summaryrefslogtreecommitdiff
path: root/plugins/metrics/tests/metrics_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/metrics/tests/metrics_test.go')
-rw-r--r--plugins/metrics/tests/metrics_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/metrics/tests/metrics_test.go b/plugins/metrics/tests/metrics_test.go
index d3043fbb..ed5d085a 100644
--- a/plugins/metrics/tests/metrics_test.go
+++ b/plugins/metrics/tests/metrics_test.go
@@ -157,6 +157,7 @@ func TestMetricsGaugeCollector(t *testing.T) {
out, err := get("http://localhost:2112/metrics")
assert.NoError(t, err)
assert.Contains(t, out, "my_gauge 100")
+ assert.Contains(t, out, "my_gauge2 100")
out, err = get("http://localhost:2112/metrics")
assert.NoError(t, err)