(param string)
| 183 | } |
| 184 | |
| 185 | func (InnerEnv) WillError(param string) (bool, error) { |
| 186 | if param == "yes" { |
| 187 | return false, errors.New("inner error") |
| 188 | } |
| 189 | return true, nil |
| 190 | } |
| 191 | |
| 192 | func TestRun_MethodWithError(t *testing.T) { |
| 193 | input := `WillError("yes")` |
nothing calls this directly
no outgoing calls
no test coverage detected