diff options
Diffstat (limited to 'internal/prometheus_test.go')
| -rw-r--r-- | internal/prometheus_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/prometheus_test.go b/internal/prometheus_test.go index 150ba52..25976d7 100644 --- a/internal/prometheus_test.go +++ b/internal/prometheus_test.go @@ -202,8 +202,8 @@ func TestMergePrometheusAlertsWatchdogFiring(t *testing.T) { t.Errorf("expected Watchdog status OK, got %v", watchdog.Status) } - if !strings.Contains(watchdog.output, "working properly") { - t.Errorf("expected working properly message, got: %s", watchdog.output) + if !strings.Contains(watchdog.Output, "working properly") { + t.Errorf("expected working properly message, got: %s", watchdog.Output) } // Verify other alerts are still processed @@ -255,7 +255,7 @@ func TestMergePrometheusAlertsWatchdogNotFiring(t *testing.T) { t.Errorf("expected Watchdog status CRITICAL, got %v", watchdog.Status) } - if !strings.Contains(watchdog.output, "not firing") { - t.Errorf("expected not firing message, got: %s", watchdog.output) + if !strings.Contains(watchdog.Output, "not firing") { + t.Errorf("expected not firing message, got: %s", watchdog.Output) } } |
