(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func TestUnused(t *testing.T) { |
| 55 | t.Parallel() |
| 56 | res := runTest(t, "testdata/unused", "unused") |
| 57 | res.assertOutput(` |
| 58 | Found 3 unused operations |
| 59 | |
| 60 | GET /a/{a_id} |
| 61 | doc: https://docs.github.com/rest/a/a#overridden-get-a |
| 62 | |
| 63 | POST /a/{a_id} |
| 64 | doc: https://docs.github.com/rest/a/a#update-a |
| 65 | |
| 66 | GET /undocumented/{undocumented_id} |
| 67 | `, "") |
| 68 | } |
| 69 | |
| 70 | //nolint:paralleltest // cannot use t.Parallel() when helper calls t.Setenv |
| 71 | func TestUpdateOpenAPI(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…