Skip to content

Commit c3905cd

Browse files
GustedAbdulrhmnGhanem
Gusted
authored andcommitted
Fix typo (go-gitea#19889)
1 parent 495903f commit c3905cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integrations/testlogger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
126126
if log.CanColorStdout {
127127
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)))
128128
} else {
129-
fmt.Fprintf(os.Stdout, "+++ %s is a slow tets (took %v)\n", t.Name(), took)
129+
fmt.Fprintf(os.Stdout, "+++ %s is a slow test (took %v)\n", t.Name(), took)
130130
}
131131
}
132132
timer := time.AfterFunc(slowFlush, func() {

models/migrations/testlogger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() {
111111
if log.CanColorStdout {
112112
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)))
113113
} else {
114-
fmt.Fprintf(os.Stdout, "+++ %s is a slow tets (took %v)\n", t.Name(), took)
114+
fmt.Fprintf(os.Stdout, "+++ %s is a slow test (took %v)\n", t.Name(), took)
115115
}
116116
}
117117
timer := time.AfterFunc(slowFlush, func() {

0 commit comments

Comments
 (0)