gotools/go/ast/astutil/imports_test.go

var fset

func parse(t *testing.T, name, in string) *ast.File {}

func print(t *testing.T, name string, f *ast.File) string {}

type test

var addTests

func TestAddImport(t *testing.T) {}

func TestDoubleAddImport(t *testing.T) {}

func TestDoubleAddNamedImport(t *testing.T) {}

// Part of issue 8729.
func TestDoubleAddImportWithDeclComment(t *testing.T) {}

var deleteTests

func TestDeleteImport(t *testing.T) {}

func TestDeleteImportAfterAddImport(t *testing.T) {}

type rewriteTest

var rewriteTests

func TestRewriteImport(t *testing.T) {}

var importsTests

func unquote(s string) string {}

func TestImports(t *testing.T) {}

var usesImportTests

func TestUsesImport(t *testing.T) {}