(t testing.TB, gopts global.Options)
| 10 | ) |
| 11 | |
| 12 | func testRunCheck(t testing.TB, gopts global.Options) { |
| 13 | t.Helper() |
| 14 | output, err := testRunCheckOutput(t, gopts, true) |
| 15 | if err != nil { |
| 16 | t.Error(output) |
| 17 | t.Fatalf("unexpected error: %+v", err) |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func testRunCheckMustFail(t testing.TB, gopts global.Options) { |
| 22 | t.Helper() |
no test coverage detected