aboutsummaryrefslogtreecommitdiffstats
path: root/modules/log/smtp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/smtp_test.go')
-rw-r--r--modules/log/smtp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/smtp_test.go b/modules/log/smtp_test.go
index 216d555215..c8758bf6be 100644
--- a/modules/log/smtp_test.go
+++ b/modules/log/smtp_test.go
@@ -26,7 +26,7 @@ func TestSMTPLogger(t *testing.T) {
logger := NewSMTPLogger()
smtpLogger, ok := logger.(*SMTPLogger)
- assert.Equal(t, true, ok)
+ assert.True(t, ok)
err := logger.Init(fmt.Sprintf("{\"prefix\":\"%s\",\"level\":\"%s\",\"flags\":%d,\"username\":\"%s\",\"password\":\"%s\",\"host\":\"%s\",\"subject\":\"%s\",\"sendTos\":[\"%s\",\"%s\"]}", prefix, level.String(), flags, username, password, host, subject, sendTos[0], sendTos[1]))
assert.NoError(t, err)