package periodic import ( "testing" "time" ) func TestPeriodicFuncNil(t *testing.T) { p := New(nil, time.Millisecond*1) if p != nil { t.Error("Expected nil") } }