config/default: handle time.Duration #182

Merged
vtolstov merged 3 commits from timeDuration into v3 2023-02-07 06:50:42 +03:00
Showing only changes of commit 8159b9d233 - Show all commits

View File

@ -8,7 +8,7 @@ import (
func TestParseDuration(t *testing.T) { func TestParseDuration(t *testing.T) {
var td time.Duration var td time.Duration
var err error var err error
t.Skip()
td, err = ParseDuration("14d4h") td, err = ParseDuration("14d4h")
if err != nil { if err != nil {
t.Fatalf("ParseDuration error: %v", err) t.Fatalf("ParseDuration error: %v", err)