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) }