Skip to content

Commit

Permalink
Fix typo (go-gitea#19889)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusted authored Jun 4, 2022
1 parent 090d89e commit abb7d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrations/testlogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
if log.CanColorStdout {
fmt.Fprintf(os.Stdout, "+++ %s is a slow test (took %v)\n", fmt.Formatter(log.NewColoredValue(t.Name(), log.Bold, log.FgYellow)), fmt.Formatter(log.NewColoredValue(took, log.Bold, log.FgYellow)))
} else {
fmt.Fprintf(os.Stdout, "+++ %s is a slow tets (took %v)\n", t.Name(), took)
fmt.Fprintf(os.Stdout, "+++ %s is a slow test (took %v)\n", t.Name(), took)
}
}
timer := time.AfterFunc(slowFlush, func() {
Expand Down
2 changes: 1 addition & 1 deletion models/migrations/testlogger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
if log.CanColorStdout {
fmt.Fprintf(os.Stdout, "+++ %s is a slow test (took %v)\n", fmt.Formatter(log.NewColoredValue(t.Name(), log.Bold, log.FgYellow)), fmt.Formatter(log.NewColoredValue(took, log.Bold, log.FgYellow)))
} else {
fmt.Fprintf(os.Stdout, "+++ %s is a slow tets (took %v)\n", t.Name(), took)
fmt.Fprintf(os.Stdout, "+++ %s is a slow test (took %v)\n", t.Name(), took)
}
}
timer := time.AfterFunc(slowFlush, func() {
Expand Down

0 comments on commit abb7d4a

Please sign in to comment.