From abb7d4ae5d1bb96e89a87de475a0453ce85f6404 Mon Sep 17 00:00:00 2001 From: Gusted Date: Sat, 4 Jun 2022 21:43:25 +0000 Subject: [PATCH] Fix typo (#19889) --- integrations/testlogger.go | 2 +- models/migrations/testlogger_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/testlogger.go b/integrations/testlogger.go index 70efa95cc..373ad8075 100644 --- a/integrations/testlogger.go +++ b/integrations/testlogger.go @@ -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() { diff --git a/models/migrations/testlogger_test.go b/models/migrations/testlogger_test.go index c087e311c..adbf19c0d 100644 --- a/models/migrations/testlogger_test.go +++ b/models/migrations/testlogger_test.go @@ -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() {