(output string, err error, t *testing.T)
| 33 | } |
| 34 | |
| 35 | func expectSuccess(output string, err error, t *testing.T) { |
| 36 | if output != "" { |
| 37 | t.Errorf("Unexpected output: %v", output) |
| 38 | } |
| 39 | if err != nil { |
| 40 | t.Fatalf("Unexpected error: %v", err) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func validOnlyWithInvalidArgs(err error, t *testing.T) { |
| 45 | if err == nil { |
no outgoing calls
no test coverage detected