added complexity lint test
Dependencies
Change contents
- edit in lint_test.go at line 46[2.7843]
func TestComplexity(t *testing.T) {cmd := exec.Command("gocyclo", "-over", "18", ".")cmd.Dir = "."out, err := cmd.CombinedOutput()if err != nil {t.Errorf("cyclometric complexity is above 15:\n%s", out)}}