change: add unittests for parameters iterator unlimited mode

This commit is contained in:
debugtalk
2022-04-16 13:25:39 +08:00
parent 66449aa30b
commit 3424b51e0e
3 changed files with 57 additions and 9 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ func (r *SessionRunner) MergeStepVariables(vars map[string]interface{}) (map[str
// updateConfigVariables updates config variables with given variables.
// this is used for data driven
func (r *SessionRunner) updateConfigVariables(parameters map[string]interface{}) {
if parameters == nil {
if len(parameters) == 0 {
return
}