Has reports whether the fixture contains the named section.
(name string)
| 187 | |
| 188 | // Has reports whether the fixture contains the named section. |
| 189 | func (f Fixture) Has(name string) bool { |
| 190 | _, ok := f.sections[name] |
| 191 | return ok |
| 192 | } |
| 193 | |
| 194 | func (f Fixture) Request() []byte { |
| 195 | f.t.Helper() |
no outgoing calls
no test coverage detected