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 <tomhjp@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user