(t *testctx.T, testFunc func(ctx context.Context, t *testctx.T, tc vcsTestCase))
| 1331 | } |
| 1332 | |
| 1333 | func testOnMultipleVCS(t *testctx.T, testFunc func(ctx context.Context, t *testctx.T, tc vcsTestCase)) { |
| 1334 | for _, tc := range vcsTestCases { |
| 1335 | t.Run(tc.name, func(ctx context.Context, t *testctx.T) { |
| 1336 | testFunc(ctx, t, tc) |
| 1337 | }) |
| 1338 | } |
| 1339 | } |
| 1340 | |
| 1341 | func getVCSTestCase(t *testctx.T, url string) vcsTestCase { |
| 1342 | for _, tc := range vcsTestCases { |
no test coverage detected