Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkFuzz (0.13 sec)

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

    				checkTest(pass, fn, "Benchmark")
    			case strings.HasPrefix(fn.Name.Name, "Fuzz"):
    				checkTest(pass, fn, "Fuzz")
    				checkFuzz(pass, fn)
    			}
    		}
    	}
    	return nil, nil
    }
    
    // checkFuzz checks the contents of a fuzz function.
    func checkFuzz(pass *analysis.Pass, fn *ast.FuncDecl) {
    	params := checkFuzzCall(pass, fn)
    	if params != nil {
    		checkAddCalls(pass, fn, params)
    	}
    }
    
    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