mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-21 00:57:43 +08:00
Remove unnecessary misspell ignore pattern (#21475)
It doesn't make sense to ignore the pattern again and again.
This commit is contained in:
@ -309,7 +309,7 @@ func TestRegExp_mentionPattern(t *testing.T) {
|
||||
pat string
|
||||
exp string
|
||||
}{
|
||||
{"@Unknwon", "@Unknwon"},
|
||||
{"@User", "@User"},
|
||||
{"@ANT_123", "@ANT_123"},
|
||||
{"@xxx-DiN0-z-A..uru..s-xxx", "@xxx-DiN0-z-A..uru..s-xxx"},
|
||||
{" @lol ", "@lol"},
|
||||
|
Reference in New Issue
Block a user