(ctx context.Context, tb testing.TB)
| 107 | ) |
| 108 | |
| 109 | func NewWithContext(ctx context.Context, tb testing.TB) (*assertions.Assertion, context.Context) { |
| 110 | tb.Helper() |
| 111 | return assertions.New(tb), ContextWithTB( |
| 112 | log.NewContext( |
| 113 | ctx, GetLogger(tb), |
| 114 | ), |
| 115 | tb, |
| 116 | ) |
| 117 | } |
| 118 | |
| 119 | func New(tb testing.TB) (*assertions.Assertion, context.Context) { |
| 120 | tb.Helper() |