From f275f7377792ed4366840943e4190d45dbad31e7 Mon Sep 17 00:00:00 2001 From: Michael Pleshakov Date: Thu, 29 Feb 2024 10:37:38 -0500 Subject: [PATCH] Update tests/exporter_test.go Co-authored-by: Saylor Berman --- tests/exporter_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/exporter_test.go b/tests/exporter_test.go index d3ad746..5aa69ea 100644 --- a/tests/exporter_test.go +++ b/tests/exporter_test.go @@ -63,6 +63,7 @@ func (c *matchingLogConsumer) setExpectedSubstrings(substrings []string) { func (c *matchingLogConsumer) unmatchedCount() int { c.sync.Lock() defer c.sync.Unlock() + return len(c.expectedSubstrings) }