mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix typo (#19889)
This commit is contained in:
		| @@ -126,7 +126,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() { | |||||||
| 			if log.CanColorStdout { | 			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))) | 				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 { | 			} 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() { | 		timer := time.AfterFunc(slowFlush, func() { | ||||||
|   | |||||||
| @@ -111,7 +111,7 @@ func PrintCurrentTest(t testing.TB, skip ...int) func() { | |||||||
| 			if log.CanColorStdout { | 			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))) | 				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 { | 			} 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() { | 		timer := time.AfterFunc(slowFlush, func() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user