(t *testing.T)
| 138 | } |
| 139 | |
| 140 | func TestLevelEmoji(t *testing.T) { |
| 141 | a := require.New(t) |
| 142 | a.Equal("", levelEmoji(webhook.WebhookInfo)) |
| 143 | a.Equal("✅ ", levelEmoji(webhook.WebhookSuccess)) |
| 144 | a.Equal("⚠️ ", levelEmoji(webhook.WebhookWarn)) |
| 145 | a.Equal("❗ ", levelEmoji(webhook.WebhookError)) |
| 146 | } |
| 147 | |
| 148 | func TestPostMessage(t *testing.T) { |
| 149 | a := require.New(t) |
nothing calls this directly
no test coverage detected