summaryrefslogtreecommitdiffstats
path: root/modules/references
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-10-19 00:52:25 +0800
committerGitHub <noreply@github.com>2022-10-18 12:52:25 -0400
commit0614ae1c446e6a4ddaed4cca5a43ce7a2003d890 (patch)
tree2fc100f945bb84da9db240e88603ea8f0ab4e322 /modules/references
parentf0182d88402c68c4032bd5314680ef4bee1f16ea (diff)
downloadgitea-0614ae1c446e6a4ddaed4cca5a43ce7a2003d890.tar.gz
gitea-0614ae1c446e6a4ddaed4cca5a43ce7a2003d890.zip
Remove unnecessary misspell ignore pattern (#21475)
It doesn't make sense to ignore the pattern again and again.
Diffstat (limited to 'modules/references')
-rw-r--r--modules/references/references_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/references/references_test.go b/modules/references/references_test.go
index adf86a3c6c..507adadb1f 100644
--- a/modules/references/references_test.go
+++ b/modules/references/references_test.go
@@ -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"},