WithVar sets a variable to be passed to the task. This can be called multiple times to set more than one variable.
(key string, value any)
| 164 | // WithVar sets a variable to be passed to the task. This can be called multiple |
| 165 | // times to set more than one variable. |
| 166 | func WithVar(key string, value any) TestOption { |
| 167 | return &varTestOption{key: key, value: value} |
| 168 | } |
| 169 | |
| 170 | type varTestOption struct { |
| 171 | key string |
no outgoing calls
no test coverage detected
searching dependent graphs…