Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkAddCalls (0.21 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			// since they are not allowed.
    			return false
    		}
    		return true
    	})
    	return params
    }
    
    // checkAddCalls checks that the arguments of f.Add calls have the same number and type of arguments as
    // the signature of the function passed to (*testing.F).Fuzz
    func checkAddCalls(pass *analysis.Pass, fn *ast.FuncDecl, params *types.Tuple) {
    	ast.Inspect(fn, func(n ast.Node) bool {
    		call, ok := n.(*ast.CallExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top