verify ref is the sample hidden commit (from pull request)
(ctx context.Context, t *testctx.T, c *dagger.Client, ref *dagger.GitRef)
| 184 | |
| 185 | // verify ref is the sample hidden commit (from pull request) |
| 186 | func requireSampleGitHiddenCommit(ctx context.Context, t *testctx.T, c *dagger.Client, ref *dagger.GitRef) { |
| 187 | requireSampleGitRootDir(ctx, t, c, ref.Tree()) |
| 188 | requireGitRefIsCommit(ctx, t, "318970484f692d7a76cfa533c5d47458631c9654", ref, c) |
| 189 | } |
| 190 | |
| 191 | func requireStrictCommit(ctx context.Context, t *testctx.T, repo *dagger.GitRepository, refStr string) { |
| 192 | ref := repo.Commit(refStr) |
no test coverage detected