Skip to content

Commit fc1607b

Browse files
luzpaz6543
andauthored
Fix source typos (#16374)
* Fix source typos Follow up to e0296b6 Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby` * rm "ignore destory on `make misspell-check`" Co-authored-by: 6543 <[email protected]>
1 parent e0296b6 commit fc1607b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ misspell-check:
297297
GO111MODULE=off $(GO) get -u github.com/client9/misspell/cmd/misspell; \
298298
fi
299299
@echo "Running misspell-check..."
300-
@misspell -error -i unknwon,destory $(GO_SOURCES_OWN)
300+
@misspell -error -i unknwon $(GO_SOURCES_OWN)
301301

302302
.PHONY: misspell
303303
misspell:

integrations/api_repo_lfs_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func TestAPILFSBatch(t *testing.T) {
135135
assert.Equal(t, "Oid or size are invalid", br.Objects[1].Error.Message)
136136
})
137137

138-
t.Run("PointerSizeMissmatch", func(t *testing.T) {
138+
t.Run("PointerSizeMismatch", func(t *testing.T) {
139139
defer PrintCurrentTest(t)()
140140

141141
req := newRequest(t, &lfs.BatchRequest{
@@ -376,15 +376,15 @@ func TestAPILFSUpload(t *testing.T) {
376376
session.MakeRequest(t, req, http.StatusOK)
377377
})
378378

379-
t.Run("HashMissmatch", func(t *testing.T) {
379+
t.Run("HashMismatch", func(t *testing.T) {
380380
defer PrintCurrentTest(t)()
381381

382382
req := newRequest(t, lfs.Pointer{Oid: "2581dd7bbc1fe44726de4b7dd806a087a978b9c5aec0a60481259e34be09b06a", Size: 1}, "a")
383383

384384
session.MakeRequest(t, req, http.StatusUnprocessableEntity)
385385
})
386386

387-
t.Run("SizeMissmatch", func(t *testing.T) {
387+
t.Run("SizeMismatch", func(t *testing.T) {
388388
defer PrintCurrentTest(t)()
389389

390390
req := newRequest(t, lfs.Pointer{Oid: "ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb", Size: 2}, "a")

routers/web/admin/users_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func TestNewUserPost_InvalidEmail(t *testing.T) {
122122
assert.NotEmpty(t, ctx.Flash.ErrorMsg)
123123
}
124124

125-
func TestNewUserPost_VisiblityDefaultPublic(t *testing.T) {
125+
func TestNewUserPost_VisibilityDefaultPublic(t *testing.T) {
126126
models.PrepareTestEnv(t)
127127
ctx := test.MockContext(t, "admin/users/new")
128128

0 commit comments

Comments
 (0)