(ctx context.Context)
| 137 | } |
| 138 | |
| 139 | func NewTFromContext(ctx context.Context) (*testing.T, *assertions.Assertion, bool) { |
| 140 | t, ok := TFromContext(ctx) |
| 141 | if !ok { |
| 142 | return nil, nil, false |
| 143 | } |
| 144 | t.Helper() |
| 145 | return t, assertions.New(t), true |
| 146 | } |
| 147 | |
| 148 | func MustNewTFromContext(ctx context.Context) (*testing.T, *assertions.Assertion) { |
| 149 | t := MustTFromContext(ctx) |
nothing calls this directly
no test coverage detected