assert.Equal(t,"#12 Fix bug\r\n[test/repo] New comment on pull request #12 Fix bug by user1\r\n\r\nchanges requested",pl.(*FeishuPayload).Content.Text)
assert.Equal(t,"#12 Fix bug\r\n[test/repo] Новый комментарий на pull request #12 Fix bug by user1\r\n\r\nchanges requested",pl.(*FeishuPayload).Content.Text)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Issue opened: [#2 crash](http://localhost:3000/test/repo/issues/2) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Issue opened: <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Задача открыта: [#2 crash](http://localhost:3000/test/repo/issues/2) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Задача открыта: <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Issue closed: [#2 crash](http://localhost:3000/test/repo/issues/2) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Issue closed: <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Задача закрыта: [#2 crash](http://localhost:3000/test/repo/issues/2) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Задача закрыта: <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] New comment on issue [#2 crash](http://localhost:3000/test/repo/issues/2) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] New comment on issue <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Новый комментарий на issue [#2 crash](http://localhost:3000/test/repo/issues/2) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Новый комментарий на issue <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] New comment on pull request [#12 Fix bug](http://localhost:3000/test/repo/pulls/12) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] New comment on pull request <a href="http://localhost:3000/test/repo/pulls/12">#12 Fix bug</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Новый комментарий на pull request [#12 Fix bug](http://localhost:3000/test/repo/pulls/12) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Новый комментарий на pull request <a href="http://localhost:3000/test/repo/pulls/12">#12 Fix bug</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Release created: [v1.0](http://localhost:3000/test/repo/src/v1.0) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Release created: <a href="http://localhost:3000/test/repo/src/v1.0">v1.0</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[[test/repo](http://localhost:3000/test/repo)] Выпуск создан: [v1.0](http://localhost:3000/test/repo/src/v1.0) by [user1](https://try.gitea.io/user1)",pl.(*MatrixPayloadUnsafe).Body)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Выпуск создан: <a href="http://localhost:3000/test/repo/src/v1.0">v1.0</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*MatrixPayloadUnsafe).FormattedBody)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Issue opened: <http://localhost:3000/test/repo/issues/2|#2 crash> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Задача открыта: <http://localhost:3000/test/repo/issues/2|#2 crash> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Issue closed: <http://localhost:3000/test/repo/issues/2|#2 crash> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Задача закрыта: <http://localhost:3000/test/repo/issues/2|#2 crash> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] New comment on issue <http://localhost:3000/test/repo/issues/2|#2 crash> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Новый комментарий на issue <http://localhost:3000/test/repo/issues/2|#2 crash> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] New comment on pull request <http://localhost:3000/test/repo/pulls/12|#12 Fix bug> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Новый комментарий на pull request <http://localhost:3000/test/repo/pulls/12|#12 Fix bug> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Release created: <http://localhost:3000/test/repo/src/v1.0|v1.0> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,"[<http://localhost:3000/test/repo|test/repo>] Выпуск создан: <http://localhost:3000/test/repo/src/v1.0|v1.0> by <https://try.gitea.io/user1|user1>",pl.(*SlackPayload).Text)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Issue closed: <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*TelegramPayload).Message)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Задача закрыта: <a href="http://localhost:3000/test/repo/issues/2">#2 crash</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*TelegramPayload).Message)
assert.Equal(t,"[<a href=\"http://localhost:3000/test/repo\">test/repo</a>] New comment on issue <a href=\"http://localhost:3000/test/repo/issues/2\">#2 crash</a> by <a href=\"https://try.gitea.io/user1\">user1</a>\nmore info needed",pl.(*TelegramPayload).Message)
assert.Equal(t,"[<a href=\"http://localhost:3000/test/repo\">test/repo</a>] Новый комментарий на issue <a href=\"http://localhost:3000/test/repo/issues/2\">#2 crash</a> by <a href=\"https://try.gitea.io/user1\">user1</a>\nmore info needed",pl.(*TelegramPayload).Message)
assert.Equal(t,"[<a href=\"http://localhost:3000/test/repo\">test/repo</a>] New comment on pull request <a href=\"http://localhost:3000/test/repo/pulls/12\">#12 Fix bug</a> by <a href=\"https://try.gitea.io/user1\">user1</a>\nchanges requested",pl.(*TelegramPayload).Message)
assert.Equal(t,"[<a href=\"http://localhost:3000/test/repo\">test/repo</a>] Новый комментарий на pull request <a href=\"http://localhost:3000/test/repo/pulls/12\">#12 Fix bug</a> by <a href=\"https://try.gitea.io/user1\">user1</a>\nchanges requested",pl.(*TelegramPayload).Message)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Release created: <a href="http://localhost:3000/test/repo/src/v1.0">v1.0</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*TelegramPayload).Message)
assert.Equal(t,`[<a href="http://localhost:3000/test/repo">test/repo</a>] Выпуск создан: <a href="http://localhost:3000/test/repo/src/v1.0">v1.0</a> by <a href="https://try.gitea.io/user1">user1</a>`,pl.(*TelegramPayload).Message)