mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 22:44:05 +08:00
feat: data-driven.
This commit is contained in:
@@ -250,15 +250,6 @@ func mergeVariables(variables, overriddenVariables map[string]interface{}) map[s
|
|||||||
return mergedVariables
|
return mergedVariables
|
||||||
}
|
}
|
||||||
|
|
||||||
func contains(s []string, e string) bool {
|
|
||||||
for _, a := range s {
|
|
||||||
if strings.EqualFold(a, e) {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
// callFunc call function with arguments
|
// callFunc call function with arguments
|
||||||
// only support return at most one result value
|
// only support return at most one result value
|
||||||
func callFunc(funcName string, arguments ...interface{}) (interface{}, error) {
|
func callFunc(funcName string, arguments ...interface{}) (interface{}, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user