mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-28 11:59:41 +08:00
refactor: run step with specified times
This commit is contained in:
@@ -872,7 +872,9 @@ func WithScreenShot(fileName ...string) DataOption {
|
||||
}
|
||||
|
||||
func NewDataOptions(options ...DataOption) *DataOptions {
|
||||
dataOptions := &DataOptions{}
|
||||
dataOptions := &DataOptions{
|
||||
Data: make(map[string]interface{}),
|
||||
}
|
||||
for _, option := range options {
|
||||
option(dataOptions)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user