summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrazeteam <164632007+crazeteam@users.noreply.github.com>2024-03-26 08:48:53 +0100
committerEarl Warren <contact@earl-warren.org>2024-03-30 07:17:30 +0100
commit3aa6f17e1e24af50560ef1f19a64f7aa4b653492 (patch)
treeaed214810db76aa46e50c71c16456afcfc2e3ec4
parentFix table header text-align (#30084) (diff)
downloadforgejo-3aa6f17e1e24af50560ef1f19a64f7aa4b653492.tar.xz
forgejo-3aa6f17e1e24af50560ef1f19a64f7aa4b653492.zip
Remove repetitive words (#30091)
remove repetitive words Signed-off-by: crazeteam <lilujing@outlook.com> (cherry picked from commit ecbc9cee2b69cd9707acb1e23ccbca048484c460)
-rw-r--r--routers/api/v1/repo/file.go2
-rw-r--r--routers/web/repo/issue.go2
-rw-r--r--tests/e2e/e2e_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index 72ada25ec7..712cba7455 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -150,7 +150,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
return
}
- // OK, now the blob is known to have at most 1024 bytes we can simply read this in in one go (This saves reading it twice)
+ // OK, now the blob is known to have at most 1024 bytes we can simply read this in one go (This saves reading it twice)
dataRc, err := blob.DataAsync()
if err != nil {
ctx.ServerError("DataAsync", err)
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index c0ec121336..7647e89c56 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -1600,7 +1600,7 @@ func ViewIssue(ctx *context.Context) {
}
marked[issue.PosterID] = issue.ShowRole
- // Render comments and and fetch participants.
+ // Render comments and fetch participants.
participants[0] = issue.Poster
for _, comment = range issue.Comments {
comment.Issue = issue
diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go
index 12681ab0f9..304dac0f45 100644
--- a/tests/e2e/e2e_test.go
+++ b/tests/e2e/e2e_test.go
@@ -77,7 +77,7 @@ func TestMain(m *testing.M) {
// TestE2e should be the only test e2e necessary. It will collect all "*.test.e2e.js" files in this directory and build a test for each.
func TestE2e(t *testing.T) {
- // Find the paths of all e2e test files in test test directory.
+ // Find the paths of all e2e test files in test directory.
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js")
paths, err := filepath.Glob(searchGlob)
if err != nil {