Skip to content

Commit abb7d4a

Browse files
author
Gusted
authored
Fix typo (#19889)
1 parent 090d89e commit abb7d4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integrations/testlogger.go

+1-1
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

+1-1
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)