Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tRunAsyncCall (0.1 sec)

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

    		}
    	}
    
    	// Check go statement for go t.Forbidden() or go func(){t.Forbidden()}().
    	return &asyncCall{region: goStmt, async: goStmt, scope: nil, fun: fun}
    }
    
    // tRunAsyncCall returns the extent of a call from a t.Run("name", fun) expression.
    func tRunAsyncCall(info *types.Info, call *ast.CallExpr) *asyncCall {
    	if len(call.Args) != 2 {
    		return nil
    	}
    	run := typeutil.Callee(info, call)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top