From f6f1d7f071df62b1a7a2072240ffe370ab206655 Mon Sep 17 00:00:00 2001 From: Clayton O'Neill Date: Fri, 31 May 2019 08:31:21 -0400 Subject: [PATCH] Remove redundant code in counter inc test Signed-off-by: Clayton O'Neill --- exporter_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/exporter_test.go b/exporter_test.go index 45eaafb..7479232 100644 --- a/exporter_test.go +++ b/exporter_test.go @@ -620,6 +620,7 @@ func TestCounterIncrement(t *testing.T) { }, } events <- c + // Push empty event so that we block until the first event is consumed. events <- Events{} close(events)