summaryrefslogtreecommitdiff
path: root/gocomplete/tests_test.go
AgeCommit message (Collapse)Author
2021-04-06gocomplete: suppress error output by defaultChris Nobody
Prevent the Go command completion from jumbling up the shell prompt on errors by setting the Writer of the standard lib default log.Logger to ioutil.Discard unless the system environment variable `GOCOMP_VERBOSE` has been explicitly set to "1" (e.g. for debugging purposes). Fixes #139
2021-04-01gocomplete: do not suppress test failuresChris Nobody
Ensure that the components of the `testing` package that rely on calling `os.Exit` remain functional and any test failures are actually reported back after the `monkey.Patch` in the `gocomplete.Example` test. Fix #135
2021-01-30Fix failing go1.16 testEyal Posener
Fixes #132
2019-11-18update module import pathEyal Posener
2019-11-18V2Eyal Posener
2017-11-04Filter matches as a final stageEyal Posener
This simplifies the prediction logic writing, the predictor doesn't need to filter our according to line matching, instead it returns everything and the filtering is done at the end. This does not break current behavior.
2017-07-28gocomplete: Add support for system GOPATH packagesEyal Posener
fixes #41
2017-05-18gocomplete: go run should also predict non-main functionsEyal Posener
2017-05-18Fix './' prefix for file completionEyal Posener
2017-05-15Add example test to increase coverateEyal Posener
2017-05-15gocomplete: run only runnable go filesEyal Posener
when typing 'go run', the completion will complete only go files which are in main package and have a main function.