File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 77 "go/token"
88 "testing"
99
10- "github.com/gostaticanalysis/comment"
1110 "golang.org/x/tools/txtar"
11+
12+ "github.com/gostaticanalysis/comment"
1213)
1314
1415func parse (t * testing.T , fset * token.FileSet , path string ) []* ast.File {
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ package commentmap
33import (
44 "reflect"
55
6- "github.com/gostaticanalysis/comment"
76 "golang.org/x/tools/go/analysis"
7+
8+ "github.com/gostaticanalysis/comment"
89)
910
1011var Analyzer = & analysis.Analyzer {
Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ import (
44 "go/ast"
55 "testing"
66
7- "github.com/gostaticanalysis/comment"
8- "github.com/gostaticanalysis/comment/passes/commentmap"
97 "golang.org/x/tools/go/analysis"
108 "golang.org/x/tools/go/analysis/analysistest"
119 "golang.org/x/tools/go/analysis/passes/inspect"
1210 "golang.org/x/tools/go/ast/inspector"
11+
12+ "github.com/gostaticanalysis/comment"
13+ "github.com/gostaticanalysis/comment/passes/commentmap"
1314)
1415
1516func Test_Maps_Ignore (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments