Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ displayTestName
Function
displayTestName
scripts/gotestsummary/main.go:456–461 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
454
}
455
456
func
displayTestName(name string) string {
457
if
name ==
""
{
458
return
"(package)"
459
}
460
return
name
461
}
462
463
func
formatSeconds(seconds float64) string {
464
return
fmt.Sprintf(
"%.2fs"
, seconds)
Callers
1
summarize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected