(param string)
| 176 | type InnerEnv struct{} |
| 177 | |
| 178 | func (ErrorEnv) WillError(param string) (bool, error) { |
| 179 | if param == "yes" { |
| 180 | return false, errors.New("error") |
| 181 | } |
| 182 | return true, nil |
| 183 | } |
| 184 | |
| 185 | func (InnerEnv) WillError(param string) (bool, error) { |
| 186 | if param == "yes" { |
nothing calls this directly
no outgoing calls
no test coverage detected