diff --git a/pkg_test.go b/pkg_test.go
index <HASH>..<HASH> 100644
--- a/pkg_test.go
+++ b/pkg_test.go
@@ -241,7 +241,7 @@ func TestLevel(t *testing.T) {
 
 func TestSettings(t *testing.T) {
 	RegisterDurationFunc(func(d time.Duration) string {
-		return fmt.Sprintf("%ds", d.Seconds())
+		return fmt.Sprintf("%gs", d.Seconds())
 	})
 
 	SetTimeFormat(time.RFC1123)
get <I>% go vet