Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration formats a duration in seconds using RSpec's adaptive precision rules: - < 1 second: up to 5 decimal places (trailing zeros removed) - 1-119 seconds: up to 2 decimal places (trailing zeros removed) - 120-299 seconds: 1 decimal place - >= 300 seconds: no decimal places - > 60 seconds: formatted as "X minutes Y seconds"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.