Skip to content

Commit 0fabdff

Browse files
committed
rename
1 parent 3c6bd1f commit 0fabdff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/paralleltest/paralleltest.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func run(pass *analysis.Pass) (interface{}, error) {
104104

105105
if loopVariableUsedInRun == nil {
106106
if run, ok := r.X.(*ast.CallExpr); ok {
107-
loopVariableUsedInRun = isLoopVarReferencedInRun(run, loopVars, pass.TypesInfo)
107+
loopVariableUsedInRun = loopVarReferencedInRun(run, loopVars, pass.TypesInfo)
108108
}
109109
}
110110
}
@@ -241,7 +241,7 @@ func isTestFunction(funcDecl *ast.FuncDecl) (bool, string) {
241241
return false, ""
242242
}
243243

244-
func isLoopVarReferencedInRun(call *ast.CallExpr, vars []types.Object, typeInfo *types.Info) (found *string) {
244+
func loopVarReferencedInRun(call *ast.CallExpr, vars []types.Object, typeInfo *types.Info) (found *string) {
245245
if len(call.Args) != 2 {
246246
return
247247
}

0 commit comments

Comments
 (0)