mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-19 00:00:34 +01:00
fb03062478
Resolves #32371. #31970 should have just showed the commit summary, but `strings.SplitN()` was misused such that we did not perform any splitting at all and just used the message. This was not caught in the unit test made in that PR since the test commit summary was > 50 (which truncated away the commit description). This snapshot resolves this and adds another unit test to ensure that we only show the commit summary. |
||
---|---|---|
.. | ||
deliver_test.go | ||
deliver.go | ||
dingtalk_test.go | ||
dingtalk.go | ||
discord_test.go | ||
discord.go | ||
feishu_test.go | ||
feishu.go | ||
general_test.go | ||
general.go | ||
main_test.go | ||
matrix_test.go | ||
matrix.go | ||
msteams_test.go | ||
msteams.go | ||
notifier.go | ||
packagist_test.go | ||
packagist.go | ||
payloader.go | ||
slack_test.go | ||
slack.go | ||
telegram_test.go | ||
telegram.go | ||
webhook_test.go | ||
webhook.go | ||
wechatwork.go |