From 347297a8ea1419e02f8ab8eea1e321bf88fa5269 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sat, 17 Apr 2021 20:09:10 -0400 Subject: [PATCH] Fix typo --- core/uptime_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uptime_test.go b/core/uptime_test.go index 17db42a8..246b2308 100644 --- a/core/uptime_test.go +++ b/core/uptime_test.go @@ -60,7 +60,7 @@ func TestServiceStatus_AddResultUptimeIsCleaningUpAfterItself(t *testing.T) { if now.Sub(timestamp) < time.Hour && serviceStatus.Uptime.LastHour == 0 { t.Error("most recent timestamp < 1h ago, expected serviceStatus.Uptime.LastHour to NOT be 0, got", serviceStatus.Uptime.LastHour) } - // Simulate service with an interval of 1 minute + // Simulate service with an interval of 3 minutes timestamp = timestamp.Add(3 * time.Minute) } }