mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 18:27:36 +08:00
change: move assertions to builtin
This commit is contained in:
@@ -170,7 +170,7 @@ func mergeVariables(variables, overriddenVariables map[string]interface{}) map[s
|
||||
}
|
||||
|
||||
func callFunction(funcName string, params []interface{}) (interface{}, error) {
|
||||
function, ok := builtin.FunctionsMap[funcName]
|
||||
function, ok := builtin.Functions[funcName]
|
||||
if !ok {
|
||||
// function not found
|
||||
return nil, fmt.Errorf("function %s is not found", funcName)
|
||||
|
||||
Reference in New Issue
Block a user