Functional options WithName gives the test fixture output a name. This should be used when running multiple tests in a single test function.
(name string)
| 128 | // WithName gives the test fixture output a name. This should be used when |
| 129 | // running multiple tests in a single test function. |
| 130 | func WithName(name string) TestOption { |
| 131 | return &nameTestOption{name: name} |
| 132 | } |
| 133 | |
| 134 | type nameTestOption struct { |
| 135 | name string |
no outgoing calls
no test coverage detected
searching dependent graphs…