From 4ab7428599ae19b5f17d91abfdacc64fb313ef7f Mon Sep 17 00:00:00 2001 From: TwiN Date: Tue, 4 Oct 2022 23:19:55 -0400 Subject: [PATCH] chore: Format code --- alerting/provider/slack/slack_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alerting/provider/slack/slack_test.go b/alerting/provider/slack/slack_test.go index 430f17ea..74014ced 100644 --- a/alerting/provider/slack/slack_test.go +++ b/alerting/provider/slack/slack_test.go @@ -20,8 +20,8 @@ func TestAlertDefaultProvider_IsValid(t *testing.T) { if !validProvider.IsValid() { t.Error("provider should've been valid") } - } + func TestAlertProvider_IsValidWithOverride(t *testing.T) { providerWithInvalidOverrideGroup := AlertProvider{ Overrides: []Override{ @@ -58,6 +58,7 @@ func TestAlertProvider_IsValidWithOverride(t *testing.T) { t.Error("provider should've been valid") } } + func TestAlertProvider_Send(t *testing.T) { defer client.InjectHTTPClient(nil) firstDescription := "description-1"