diff --git a/internal/lsp/source/completion/fuzz.go b/internal/lsp/source/completion/fuzz.go index 5f5cd51c79..92349ab934 100644 --- a/internal/lsp/source/completion/fuzz.go +++ b/internal/lsp/source/completion/fuzz.go @@ -100,7 +100,9 @@ Loop: } ast.Inspect(n, f) if add == nil { - return true + // looks like f.Fuzz without a preceding f.Add. + // let the regular completion handle it. + return false } lbl := "Fuzz(func(t *testing.T"