summaryrefslogtreecommitdiff
path: root/gocomplete/tests.go
diff options
context:
space:
mode:
Diffstat (limited to 'gocomplete/tests.go')
-rw-r--r--gocomplete/tests.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gocomplete/tests.go b/gocomplete/tests.go
index e755ae5..fc3a3ad 100644
--- a/gocomplete/tests.go
+++ b/gocomplete/tests.go
@@ -20,7 +20,7 @@ var (
// for test names use prefix of 'Test' or 'Example', and for benchmark
// test names use 'Benchmark'
func funcPredict(funcRegexp *regexp.Regexp) complete.Predictor {
- return complete.PredictFunc(func(a complete.Args) []string {
+ return complete.PredictFunc(func(prefix string) []string {
return funcNames(funcRegexp)
})
}