Skip to content

Fix source typos #16374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ misspell-check:
GO111MODULE=off $(GO) get -u github.com/client9/misspell/cmd/misspell; \
fi
@echo "Running misspell-check..."
@misspell -error -i unknwon,destory $(GO_SOURCES_OWN)
@misspell -error -i unknwon $(GO_SOURCES_OWN)

.PHONY: misspell
misspell:
Expand Down
6 changes: 3 additions & 3 deletions integrations/api_repo_lfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func TestAPILFSBatch(t *testing.T) {
assert.Equal(t, "Oid or size are invalid", br.Objects[1].Error.Message)
})

t.Run("PointerSizeMissmatch", func(t *testing.T) {
t.Run("PointerSizeMismatch", func(t *testing.T) {
defer PrintCurrentTest(t)()

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

t.Run("HashMissmatch", func(t *testing.T) {
t.Run("HashMismatch", func(t *testing.T) {
defer PrintCurrentTest(t)()

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

session.MakeRequest(t, req, http.StatusUnprocessableEntity)
})

t.Run("SizeMissmatch", func(t *testing.T) {
t.Run("SizeMismatch", func(t *testing.T) {
defer PrintCurrentTest(t)()

req := newRequest(t, lfs.Pointer{Oid: "ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb", Size: 2}, "a")
Expand Down
2 changes: 1 addition & 1 deletion routers/web/admin/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestNewUserPost_InvalidEmail(t *testing.T) {
assert.NotEmpty(t, ctx.Flash.ErrorMsg)
}

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

Expand Down