Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
115 lines
3.7 KiB
JSON
115 lines
3.7 KiB
JSON
{
|
||
"regular_tests": [
|
||
{
|
||
"name": "slack_link1",
|
||
"input": ">Google logo today:\n><https://www.google.com/images/srpr/logo4w.png>\n>Kinda boring",
|
||
"conversion_output": ">Google logo today:\n>https://www.google.com/images/srpr/logo4w.png\n>Kinda boring"
|
||
},
|
||
{
|
||
"name": "slack_link_with_pipe",
|
||
"input": ">Google logo today:\n><https://foo.com|foo>\n>Kinda boring",
|
||
"conversion_output": ">Google logo today:\n>[foo](https://foo.com)\n>Kinda boring"
|
||
},
|
||
{
|
||
"name": "slack_link_with_pipes",
|
||
"input": ">Google logo today:\n><https://foo.com|foo|oof>\n>Kinda boring",
|
||
"conversion_output": ">Google logo today:\n>[foo|oof](https://foo.com)\n>Kinda boring"
|
||
},
|
||
{
|
||
"name": "slack_link2",
|
||
"input": "<http://datausa.io/> this is a good website.",
|
||
"conversion_output": "http://datausa.io/ this is a good website."
|
||
},
|
||
{
|
||
"name": "mailto_format1",
|
||
"input": "email me at <mailto:random@gmail.com|random@gmail.com>",
|
||
"conversion_output": "email me at mailto:random@gmail.com"
|
||
},
|
||
{
|
||
"name": "mailto_format2",
|
||
"input": "email me at <mailto:random@gmail.com>",
|
||
"conversion_output": "email me at mailto:random@gmail.com"
|
||
},
|
||
{
|
||
"name": "valid_strikethrough_test",
|
||
"input": "(~str ike!~, text. ~Also ~)",
|
||
"conversion_output": "(~~str ike!~~, text. ~~Also ~~)"
|
||
},
|
||
{
|
||
"name": "invalid_strikethrough_test",
|
||
"input": "Mid~word~ strike. Also ~~strike~~)",
|
||
"conversion_output": "Mid~word~ strike. Also ~~strike~~)"
|
||
},
|
||
{
|
||
"name": "valid_italic_test",
|
||
"input": "ital ^_lic_, _wo r@d_.",
|
||
"conversion_output": "ital ^*lic*, *wo r@d*."
|
||
},
|
||
{
|
||
"name": "invalid_italic_test",
|
||
"input": "mid_word_, @_italics_",
|
||
"conversion_output": "mid_word_, @_italics_"
|
||
},
|
||
{
|
||
"name": "valid_bold_test",
|
||
"input": "(*text*} and normal :* bold*.",
|
||
"conversion_output": "(**text**} and normal :** bold**."
|
||
},
|
||
{
|
||
"name": "invalid_bold_test",
|
||
"input": "*mid*word **word**",
|
||
"conversion_output": "*mid*word **word**"
|
||
},
|
||
{
|
||
"name": "no_conversion",
|
||
"input": "***word***",
|
||
"conversion_output": "***word***"
|
||
},
|
||
{
|
||
"name": "valid_bold_and_italic_conversion_1",
|
||
"input": "*_test bold and italic message_*",
|
||
"conversion_output": "***test bold and italic message***"
|
||
},
|
||
{
|
||
"name": "valid_bold_and_italic_conversion_2",
|
||
"input": "_*test bold and italic message*_",
|
||
"conversion_output": "***test bold and italic message***"
|
||
},
|
||
{
|
||
"name": "bold_and_strike_conversion",
|
||
"input": "~*bold*~ and *~strike~*.",
|
||
"conversion_output": "~~**bold**~~ and **~~strike~~**."
|
||
},
|
||
{
|
||
"name": "italic_and_strike_conversion",
|
||
"input": "_~italic~_ and ~_strike_~",
|
||
"conversion_output": "*~~italic~~* and ~~*strike*~~"
|
||
},
|
||
{
|
||
"name": "unicode_quotes",
|
||
"input": "«~strike~» 「*bold*」 ❰_italic_❱",
|
||
"conversion_output": "«~~strike~~» 「**bold**」 ❰*italic*❱"
|
||
},
|
||
{
|
||
"name": "new_line_test",
|
||
"input": "\n*abc*\n_helo_\n~stike~\n",
|
||
"conversion_output": "\n**abc**\n*helo*\n~~stike~~\n"
|
||
},
|
||
{
|
||
"name": "zero_width_identical_bold_matches_test",
|
||
"input": "*foo*\n*foo*\n*foo*",
|
||
"conversion_output": "**foo**\n**foo**\n**foo**"
|
||
},
|
||
{
|
||
"name": "format_emoji_test",
|
||
"input": "*1️⃣ bold* some _1️⃣ italic_ word ~1️⃣ strike~",
|
||
"conversion_output": "**1️⃣ bold** some *1️⃣ italic* word ~~1️⃣ strike~~"
|
||
},
|
||
{
|
||
"name": "overlapping_capture_group_test",
|
||
"input": "*foo* *baz* *bar*",
|
||
"conversion_output": "**foo** **baz** **bar**"
|
||
}
|
||
]
|
||
}
|