From 858a3fdde936483c16278d5f634e4cb462b152ae Mon Sep 17 00:00:00 2001 From: Matthew Kuzminski Date: Thu, 16 Jan 2025 16:50:30 -0500 Subject: [PATCH] fix typo in comment --- stats_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats_test.go b/stats_test.go index 99aad3b..0cb4f7d 100644 --- a/stats_test.go +++ b/stats_test.go @@ -507,7 +507,7 @@ func TestTimerReservoir_ConcurrentFlushingWhileWrites(t *testing.T) { time.Sleep(time.Duration(flushIntervalMs/5) * time.Millisecond) } - time.Sleep(time.Duration(flushIntervalMs+1) * time.Millisecond) // guarentee we finish flushing + time.Sleep(time.Duration(flushIntervalMs+1) * time.Millisecond) // guarantee we finish flushing stats := strings.Split(ts.String(), "\n") statCount := len(stats) - 1 // there will be 1 extra new line character at the end of the buffer