We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e003269 commit 075c962Copy full SHA for 075c962
metrics/serve_test.go
@@ -441,7 +441,7 @@ func TestCollectorLabels(t *testing.T) {
441
})
442
443
select {
444
- case <- col.updateNotifyCh:
+ case <-col.updateNotifyCh:
445
metricsFamilies, err := reg.Gather()
446
assert.NotEmpty(t, metricsFamilies)
447
assert.NoError(t, err)
@@ -460,7 +460,7 @@ func TestCollectorLabels(t *testing.T) {
460
assert.Contains(t, labelMap, "cycle_id")
461
}
462
463
- case <- time.After(2 * time.Second):
464
- t.Fail();
+ case <-time.After(2 * time.Second):
+ t.Fail()
465
466
0 commit comments