Remove repetitive words (#30091)
remove repetitive words Signed-off-by: crazeteam <lilujing@outlook.com> (cherry picked from commit ecbc9cee2b69cd9707acb1e23ccbca048484c460)
This commit is contained in:
parent
11765a8206
commit
3aa6f17e1e
|
@ -150,7 +150,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
|
||||||
return
|
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()
|
dataRc, err := blob.DataAsync()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("DataAsync", err)
|
ctx.ServerError("DataAsync", err)
|
||||||
|
|
|
@ -1600,7 +1600,7 @@ func ViewIssue(ctx *context.Context) {
|
||||||
}
|
}
|
||||||
marked[issue.PosterID] = issue.ShowRole
|
marked[issue.PosterID] = issue.ShowRole
|
||||||
|
|
||||||
// Render comments and and fetch participants.
|
// Render comments and fetch participants.
|
||||||
participants[0] = issue.Poster
|
participants[0] = issue.Poster
|
||||||
for _, comment = range issue.Comments {
|
for _, comment = range issue.Comments {
|
||||||
comment.Issue = issue
|
comment.Issue = issue
|
||||||
|
|
|
@ -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.
|
// 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) {
|
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")
|
searchGlob := filepath.Join(filepath.Dir(setting.AppPath), "tests", "e2e", "*.test.e2e.js")
|
||||||
paths, err := filepath.Glob(searchGlob)
|
paths, err := filepath.Glob(searchGlob)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue