aboutsummaryrefslogtreecommitdiff
path: root/go/ast/astutil/enclosing_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/ast/astutil/enclosing_test.go')
-rw-r--r--go/ast/astutil/enclosing_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/go/ast/astutil/enclosing_test.go b/go/ast/astutil/enclosing_test.go
index 5e86ff93c..de96d4496 100644
--- a/go/ast/astutil/enclosing_test.go
+++ b/go/ast/astutil/enclosing_test.go
@@ -40,7 +40,6 @@ func pathToString(path []ast.Node) string {
// findInterval parses input and returns the [start, end) positions of
// the first occurrence of substr in input. f==nil indicates failure;
// an error has already been reported in that case.
-//
func findInterval(t *testing.T, fset *token.FileSet, input, substr string) (f *ast.File, start, end token.Pos) {
f, err := parser.ParseFile(fset, "<input>", input, 0)
if err != nil {