Skip to content

Commit

Permalink
chore: formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jun 21, 2022
1 parent 0934ad2 commit 0e3477c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/testpackage/testpackage.go
Expand Up @@ -6,6 +6,7 @@ import (
"strings"

"go/ast"

"golang.org/x/tools/go/analysis"
)

Expand Down Expand Up @@ -40,7 +41,7 @@ func NewAnalyzer() *analysis.Analyzer {
var (
skipFileRegexp = SkipRegexpFlagDefault
allowPackagesStr = AllowPackagesFlagDefault
fs flag.FlagSet
fs flag.FlagSet
)

fs.StringVar(&skipFileRegexp, SkipRegexpFlagName, skipFileRegexp, SkipRegexpFlagUsage)
Expand All @@ -63,7 +64,6 @@ func NewAnalyzer() *analysis.Analyzer {
continue
}


processTestFile(pass, f, allowedPackages)
}

Expand Down

0 comments on commit 0e3477c

Please sign in to comment.