testChecker returns a checker that uses the schemas in testdata.
(t *testing.T)
| 74 | |
| 75 | // testChecker returns a checker that uses the schemas in testdata. |
| 76 | func testChecker(t *testing.T) *checker { |
| 77 | t.Helper() |
| 78 | useTestSchemas(t) |
| 79 | chk := newChecker(io.Discard) |
| 80 | chk.preload() |
| 81 | require.Empty(t, chk.unavailable()) |
| 82 | return chk |
| 83 | } |
| 84 | |
| 85 | // fakeGH implements the few commands the run tests need. |
| 86 | func fakeGH(args []string) int { |
no test coverage detected