mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
fix: 优化语法
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0-beta-2409252249
|
||||
v5.0.0-beta-2409252253
|
||||
|
||||
@@ -474,9 +474,7 @@ func (r *CaseRunner) parseConfig() (parsedConfig *TConfig, err error) {
|
||||
return parsedConfig, nil
|
||||
}
|
||||
|
||||
func (r *CaseRunner) parseDeviceConfig(
|
||||
device interface{}, configVariables map[string]interface{},
|
||||
) error {
|
||||
func (r *CaseRunner) parseDeviceConfig(device interface{}, configVariables map[string]interface{}) error {
|
||||
deviceValue := reflect.ValueOf(device).Elem()
|
||||
deviceType := deviceValue.Type()
|
||||
for i := 0; i < deviceType.NumField(); i++ {
|
||||
|
||||
Reference in New Issue
Block a user