Minor improvements

This commit is contained in:
TwinProduction
2021-02-19 20:34:35 -05:00
parent 50435f4030
commit 9b893aa4e0
4 changed files with 9 additions and 8 deletions

View File

@ -64,8 +64,8 @@ func TestAlertProvider_ToCustomAlertProvider(t *testing.T) {
if customAlertProvider == nil {
t.Fatal("customAlertProvider shouldn't have been nil")
}
if customAlertProvider != customAlertProvider {
t.Error("customAlertProvider should've been equal to customAlertProvider")
if customAlertProvider.URL != "http://example.com" {
t.Error("expected URL to be http://example.com, got", customAlertProvider.URL)
}
}