From b74eeda0556f1a7167e10224e3effb1fd4320a17 Mon Sep 17 00:00:00 2001 From: Tom Proctor Date: Wed, 6 May 2026 22:31:48 +0100 Subject: [PATCH] cmd/testwrapper: print unit for package duration (#19663) Include the unit (s) when printing the time taken to test each package. Updates #cleanup Signed-off-by: Tom Proctor --- cmd/testwrapper/testwrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/testwrapper/testwrapper.go b/cmd/testwrapper/testwrapper.go index 204409a63..34338fff2 100644 --- a/cmd/testwrapper/testwrapper.go +++ b/cmd/testwrapper/testwrapper.go @@ -267,7 +267,7 @@ func main() { if cached { lastCol = "(cached)" } else { - lastCol = fmt.Sprintf("%.3f", testDur.Seconds()) + lastCol = fmt.Sprintf("%.3fs", testDur.Seconds()) } fmt.Printf("%s\t%s\t%v\n", outcome, pkg, lastCol) }