(t *testing.T)
| 439 | } |
| 440 | |
| 441 | func TestFrameSetContext(t *testing.T) { |
| 442 | ctx := context.Background() |
| 443 | f := mustNewExecutionFrame(t, EmptyActivation()) |
| 444 | defer f.Close() |
| 445 | |
| 446 | if err := f.SetContext(ctx, 1); err != nil { |
| 447 | t.Errorf("SetContext failed: %v", err) |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | func TestFrameSetContextTwiceError(t *testing.T) { |
| 452 | ctx := context.Background() |
nothing calls this directly
no test coverage detected