diff --git a/main_test.go b/main_test.go index c943091..2901157 100644 --- a/main_test.go +++ b/main_test.go @@ -129,7 +129,6 @@ func TestCheckArgs(t *testing.T) { config.slackUsername = "Dummy user" config.slackChannel = "Test" config.slackIconURL = "https://www.sensu.io/img/sensu-logo.png" - assert.Error(checkArgs(event)) _ = os.Setenv("SLACK_WEBHOOK_URL", "http://example.com/webhook") config.slackwebHookURL = os.Getenv("SLACK_WEBHOOK_URL") assert.NoError(checkArgs(event))