Skip to content

Commit 075c962

Browse files
author
Prateek
committed
Fixes formating issues in the serve_test.gp
Signed-off-by: Prateek <prateek@bluekanvas.com>
1 parent e003269 commit 075c962

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

metrics/serve_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ func TestCollectorLabels(t *testing.T) {
441441
})
442442

443443
select {
444-
case <- col.updateNotifyCh:
444+
case <-col.updateNotifyCh:
445445
metricsFamilies, err := reg.Gather()
446446
assert.NotEmpty(t, metricsFamilies)
447447
assert.NoError(t, err)
@@ -460,7 +460,7 @@ func TestCollectorLabels(t *testing.T) {
460460
assert.Contains(t, labelMap, "cycle_id")
461461
}
462462
}
463-
case <- time.After(2 * time.Second):
464-
t.Fail();
463+
case <-time.After(2 * time.Second):
464+
t.Fail()
465465
}
466466
}

0 commit comments

Comments
 (0)