Remove unnecessary misspell ignore pattern (#21475)

It doesn't make sense to ignore the pattern again and again.
pull/21505/head
wxiaoguang 2 years ago committed by GitHub
parent f0182d8840
commit 0614ae1c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile
  2. 2
      modules/paginator/paginator.go
  3. 2
      modules/paginator/paginator_test.go
  4. 2
      modules/references/references_test.go

@ -280,7 +280,7 @@ fmt-check: fmt
.PHONY: misspell-check
misspell-check:
go run $(MISSPELL_PACKAGE) -error -i unknwon $(GO_DIRS) $(WEB_DIRS)
go run $(MISSPELL_PACKAGE) -error $(GO_DIRS) $(WEB_DIRS)
.PHONY: vet
vet:

@ -1,5 +1,5 @@
// Copyright 2022 The Gitea Authors.
// Copyright 2015 Unknwon. Licensed under the Apache License, Version 2.0
// Copyright 2015 https://github.com/unknwon. Licensed under the Apache License, Version 2.0
package paginator

@ -1,5 +1,5 @@
// Copyright 2022 The Gitea Authors.
// Copyright 2015 Unknwon. Licensed under the Apache License, Version 2.0
// Copyright 2015 https://github.com/unknwon. Licensed under the Apache License, Version 2.0
package paginator

@ -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"},

Loading…
Cancel
Save