mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-05 23:23:16 -06:00
spaghet
This commit is contained in:
parent
7663d0ffa6
commit
6748a273dc
1 changed files with 5 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ func (suite *ValidationTestSuite) TestValidateEmojiShortcode() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
shortcode: "p",
|
shortcode: "p",
|
||||||
ok: false,
|
ok: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
shortcode: "pp",
|
shortcode: "pp",
|
||||||
|
|
@ -361,6 +361,10 @@ func (suite *ValidationTestSuite) TestValidateEmojiShortcode() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
shortcode: "_",
|
shortcode: "_",
|
||||||
|
ok: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
shortcode: "",
|
||||||
ok: false,
|
ok: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue